getAdapter(EnumDeclarationAdapter.class).adapt(enumDeclarationContext);
setClassOrInterfaceModifiers(context, enumDeclaration);
return enumDeclaration;
}
InterfaceDeclarationContext interfaceDeclarationContext =
getChild(context, InterfaceDeclarationContext.class);
if (interfaceDeclarationContext != null) {
InterfaceDeclaration interfaceDeclaration =
getAdapter(InterfaceDeclarationAdapter.class).adapt(interfaceDeclarationContext);
setClassOrInterfaceModifiers(context, interfaceDeclaration);