@groovy.transform.CompileStatic @org.codehaus.groovy.transform.GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION) class PublisherTransform extends AbstractMethodDecoratingTransformation
A transform that transforms a method publishing the result to the given event
Modifiers | Name | Description |
---|---|---|
static java.lang.Object |
APPLIED_MARKER |
|
static int |
POSITION |
The position of the transform. |
Type Params | Return Type | Name and description |
---|---|---|
|
protected org.codehaus.groovy.ast.expr.Expression |
buildDelegatingMethodCall(org.codehaus.groovy.control.SourceUnit sourceUnit, org.codehaus.groovy.ast.AnnotationNode annotationNode, org.codehaus.groovy.ast.ClassNode classNode, org.codehaus.groovy.ast.MethodNode methodNode, org.codehaus.groovy.ast.expr.MethodCallExpression originalMethodCallExpr, org.codehaus.groovy.ast.stmt.BlockStatement newMethodBody) |
|
protected void |
enhanceClassNode(org.codehaus.groovy.control.SourceUnit sourceUnit, org.codehaus.groovy.ast.AnnotationNode annotationNode, org.codehaus.groovy.ast.ClassNode classNode) |
|
protected org.codehaus.groovy.ast.ClassNode |
getAnnotationType() |
|
protected java.lang.Object |
getAppliedMarker() |
|
int |
getOrder() |
|
protected java.lang.String |
getRenamedMethodPrefix() |
The position of the transform. Before the transactional transform