setNodeAttributes(classDeclaration, context);
setClassOrInterfaceModifiers(context, classDeclaration);
return classDeclaration;
}
EnumDeclarationContext enumDeclarationContext = getChild(context, EnumDeclarationContext.class);
if (enumDeclarationContext != null) {
EnumDeclaration enumDeclaration =
getAdapter(EnumDeclarationAdapter.class).adapt(enumDeclarationContext);
setClassOrInterfaceModifiers(context, enumDeclaration);
return enumDeclaration;