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 and description |
---|
EnumConstantClassNode
(org.codehaus.groovy.ast.ClassNode outerClass, String name, int modifiers, org.codehaus.groovy.ast.ClassNode superClass) @param name is the full name of the class |
Methods inherited from class | Name |
---|---|
class InnerClassNode |
addConstructor, addConstructor, getOuterClass, getOuterField, getOuterMostClass, getVariableScope, isAnonymous, setAnonymous, setVariableScope |
name
- is the full name of the classmodifiers
- the modifiers,superClass
- the base class name - use "java.lang.Object" if no direct base classCopyright © 2003-2019 The Apache Software Foundation. All rights reserved.