@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)
public class ActiveObjectASTTransformation
extends AbstractASTTransformation
Handles the ActiveObject annotation, transforming ActiveMethod-annotated methods to route through an internal actor for serialised execution.
Inspired by GPars' ActiveObjectASTTransformation,
adapted for Groovy's built-in Actor infrastructure.
| Fields inherited from class | Fields |
|---|---|
class AbstractASTTransformation |
RETENTION_CLASSNODE, sourceUnit |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
visit(ASTNode[] nodes, SourceUnit source) |