Class EnumConstantClassNode

  • All Implemented Interfaces:
    GroovydocHolder<AnnotatedNode>, NodeMetaDataHandler, org.objectweb.asm.Opcodes

    public class EnumConstantClassNode
    extends InnerClassNode
    Represents the anonymous inner class for an enum constant This subtype is needed so that EnumVisitor can differentiate between the scenarios when a InnerClassNode represents anonymous inner class for an enu constant and when it represents an enum class defined inside another class
    • Constructor Detail

      • EnumConstantClassNode

        public EnumConstantClassNode​(ClassNode outerClass,
                                     String name,
                                     int modifiers,
                                     ClassNode superClass)
        Parameters:
        name - is the full name of the class
        modifiers - the modifiers, @see org.objectweb.asm.Opcodes
        superClass - the base class name - use "java.lang.Object" if no direct base class