On this page
[Java] Class EnumConstantClassNode
- org.codehaus.groovy.ast.EnumConstantClassNode
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
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)
|
Inherited Methods Summary
Constructor Detail
public EnumConstantClassNode(ClassNode outerClass, String name, int modifiers, ClassNode superClass)
- Parameters:
name
- is the full name of the classmodifiers
- 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/3.0.9/html/gapi/org/codehaus/groovy/ast/EnumConstantClassNode.html