On this page
[Java] Class MixinNode
- org.codehaus.groovy.ast.MixinNode
public class MixinNode
extends ClassNode
Represents a mixin which can be applied to any ClassNode to implement mixins
Field Summary
Modifiers | Name | Description |
---|---|---|
static MixinNode[] |
EMPTY_ARRAY |
Fields inherited from class | Fields |
---|---|
class ClassNode |
EMPTY_ARRAY, SUPER, THIS, clazz, innerClasses, isPrimaryNode, lazyInitLock |
Constructor Summary
Constructor and description |
---|
MixinNode(String name, int modifiers, ClassNode superType)
|
MixinNode(String name, int modifiers, ClassNode superType, ClassNode[] interfaces)
|
Inherited Methods Summary
Field Detail
public static final MixinNode[] EMPTY_ARRAY
Constructor Detail
public MixinNode(String name, int modifiers, ClassNode superType)
- Parameters:
name
- is the full name of the classmodifiers
- the modifiers,superType
- the base class name - use "java.lang.Object" if no direct base class
- See Also:
- org.objectweb.asm.Opcodes
public MixinNode(String name, int modifiers, ClassNode superType, ClassNode[] interfaces)
- Parameters:
name
- is the full name of the classmodifiers
- the modifiers,superType
- the base class name - use "java.lang.Object" if no direct base class
- See Also:
- org.objectweb.asm.Opcodes
© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/org/codehaus/groovy/ast/MixinNode.html