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 Details

    • EnumConstantClassNode

      public EnumConstantClassNode​(ClassNode outerClass, java.lang.String name, int modifiers, ClassNode superClass)
      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