private Class < ? extends ClassFileDescriptor > getJavaType ( int flags ) { if ( hasFlag ( flags , Opcodes . ACC_ANNOTATION ) ) { return AnnotationTypeDescriptor . class ; } else if ( hasFlag ( flags , Opcodes . ACC_ENUM ) ) { return EnumTypeDescriptor . class ; } else if ( hasFlag ( flags , Opcodes . ACC_INTERFACE ) ) { return InterfaceTypeDescriptor . class ; } return ClassTypeDescriptor . class ; }
Determine the types label to be applied to a class node .