@org.codehaus.groovy.transform.GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION) public class MixinTransformation extends java.lang.Object implements org.codehaus.groovy.transform.ASTTransformation
The logic for the Mixin location transform.
Modifiers | Name | Description |
---|---|---|
static org.codehaus.groovy.ast.ClassNode |
GROOVY_OBJECT_CLASS_NODE |
|
static java.lang.String |
OBJECT_CLASS |
Type Params | Return Type | Name and description |
---|---|---|
|
protected ListExpression |
getListOfClasses(org.codehaus.groovy.ast.AnnotationNode node) |
|
protected boolean |
hasDeclaredMethod(org.codehaus.groovy.ast.ClassNode classNode, MethodNode mixinMethod) |
|
public static boolean |
isAddableMethod(MethodNode declaredMethod) |
|
protected boolean |
isCandidateMethod(MethodNode declaredMethod) |
|
public void |
visit(ASTNode[] astNodes, org.codehaus.groovy.control.SourceUnit source) |
|
public void |
weaveMixinsIntoClass(org.codehaus.groovy.ast.ClassNode classNode, ListExpression values) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |