[Java] Class EnumConstantClassNode
- org.codehaus.groovy.ast.EnumConstantClassNode
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
- Authors:
- Roshan Dawrani
Fields inherited from class | Fields |
---|---|
class ClassNode | EMPTY_ARRAY, SUPER, THIS, clazz, innerClasses, isPrimaryNode, lazyInitLock |
Constructor Summary
Constructor and description |
---|
EnumConstantClassNode
(ClassNode outerClass, String name, int modifiers, ClassNode superClass) @param name is the full name of the class |
Inherited Methods Summary
Constructor Detail
public EnumConstantClassNode(ClassNode outerClass, String name, int modifiers, ClassNode superClass)
- Parameters:
-
name
- is the full name of the class -
modifiers
- the modifiers, -
superClass
- the base class name - use "java.lang.Object" if no direct base class
- See Also:
- org.objectweb.asm.Opcodes
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/ast/EnumConstantClassNode.html