Class EnumConstantClassNode

All Implemented Interfaces:
GroovydocHolder<AnnotatedNode>, NodeMetaDataHandler

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 an InnerClassNode represents anonymous inner class for an enum constant versus an enum class defined within another class.
  • Constructor Details

    • EnumConstantClassNode

      public EnumConstantClassNode(ClassNode outerClass, String name, ClassNode superClass)
    • EnumConstantClassNode

      @Deprecated(forRemoval=true, since="4.0.0") public EnumConstantClassNode(ClassNode outerClass, String name, int modifiers, ClassNode superClass)
      Deprecated, for removal: This API element is subject to removal in a future version.