groovyx.gpars.util
[Java] Class AsyncFunASTTransformation
java.lang.Object
groovyx.gpars.util.AsyncFunASTTransformation
- All Implemented Interfaces:
- org.codehaus.groovy.transform.ASTTransformation
@org.codehaus.groovy.transform.GroovyASTTransformationif (value != null && value instanceof ClassExpression) {
public class AsyncFunASTTransformation
This transformation turns field initialExpressions into method calls to GParsPoolUtil.asyncFun.
- Authors:
- Vladimir Orany
- Hamlet D'Arcy
- Dinko Srkoč
- Paul King
- See Also:
- GParsPoolUtil
Field Summary |
private static org.codehaus.groovy.ast.ClassNode |
MY_TYPE
|
Method Summary |
private static void
|
init(org.codehaus.groovy.ast.ASTNode[] nodes)
|
private static boolean
|
memberHasValue(org.codehaus.groovy.ast.AnnotationNode node, java.lang.String name, java.lang.Object value)
|
private static void
|
validatePoolClass(org.codehaus.groovy.ast.expr.Expression classExpression, org.codehaus.groovy.ast.AnnotatedNode fieldNode, org.codehaus.groovy.control.SourceUnit source)
|
void
|
visit(org.codehaus.groovy.ast.ASTNode[] nodes, org.codehaus.groovy.control.SourceUnit source)
|
Methods inherited from 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() |
MY_TYPE
private static final org.codehaus.groovy.ast.ClassNode MY_TYPE
-
AsyncFunASTTransformation
AsyncFunASTTransformation()
-
init
private static void init(org.codehaus.groovy.ast.ASTNode[] nodes)
-
memberHasValue
private static boolean memberHasValue(org.codehaus.groovy.ast.AnnotationNode node, java.lang.String name, java.lang.Object value)
-
validatePoolClass
private static void validatePoolClass(org.codehaus.groovy.ast.expr.Expression classExpression, org.codehaus.groovy.ast.AnnotatedNode fieldNode, org.codehaus.groovy.control.SourceUnit source)
-
visit
@java.lang.Override}
public void visit(org.codehaus.groovy.ast.ASTNode[] nodes, org.codehaus.groovy.control.SourceUnit source)
-
Copyright © 2008–2013 Václav Pech. All Rights Reserved.