@CompileStatic @GroovyASTTransformation(phase: CompilePhase.CANONICALIZATION) class PublisherTransform extends AbstractMethodDecoratingTransformation implements Ordered
A transform that transforms a method publishing the result to the given event
| Modifiers | Name | Description |
|---|---|---|
static Object |
APPLIED_MARKER |
|
static int |
POSITION |
The position of the transform. |
| Fields inherited from class | Fields |
|---|---|
class AbstractMethodDecoratingTransformation |
DECORATED_METHODS, __$stMC, __$stMC, RETENTION_CLASSNODE |
| 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 Object |
getAppliedMarker() |
|
int |
getOrder() |
|
protected String |
getRenamedMethodPrefix() |
The position of the transform. Before the transactional transform