[Java] Class MixinNode
- org.codehaus.groovy.ast.MixinNode
Represents a mixin which can be applied to any ClassNode to implement mixins
- Authors:
- James Strachan
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) @param name is the full name of the class |
MixinNode
(String name, int modifiers, ClassNode superType, ClassNode[] interfaces) @param name is the full name of the class |
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 class -
modifiers
- 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 class -
modifiers
- the modifiers, -
superType
- 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/MixinNode.html