@AutoFinal @CompileStatic @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 |
The position of the transform. |
| Fields inherited from class | Fields |
|---|---|
class AbstractMethodDecoratingTransformation |
DECORATED_METHODS |
| Properties inherited from class | Properties |
|---|---|
class AbstractGormASTTransformation |
compilationUnit |
| Constructor and description |
|---|
PublisherTransform() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected Expression |
buildDelegatingMethodCall(SourceUnit sourceUnit, AnnotationNode annotationNode, ClassNode classNode, MethodNode methodNode, MethodCallExpression originalMethodCallExpr, BlockStatement newMethodBody) |
|
protected void |
enhanceClassNode(SourceUnit sourceUnit, AnnotationNode annotationNode, ClassNode classNode) |
|
protected ClassNode |
getAnnotationType() |
|
protected java.lang.Object |
getAppliedMarker() |
|
protected java.lang.String |
getRenamedMethodPrefix() |
|
int |
priority() |
The position of the transform. Before the transactional transform