@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION) class BenchmarkASTTransformation
The AST transform to handle @Benchmark annotation
| Modifiers | Name | Description |
|---|---|---|
static class |
BenchmarkASTTransformation.ClosureBenchmarkHandler |
| Type | Name and description |
|---|---|
Statement |
handleBenchmark(AnnotationNode benchmark) |
boolean |
hasOwnBenchmark(AnnotatedNode node) |
void |
transform(ClassNode klass, AnnotationNode benchmark) |
void |
transform(MethodNode method, AnnotationNode benchmark) |
void |
visit(ASTNode[] nodes, SourceUnit source) |