@GroovyASTTransformation(phase = CompilePhase.SEMANTIC_ANALYSIS) public class BuilderASTTransformation extends AbstractASTTransformation implements CompilationUnitAware
Handles generation of code for the Builder annotation.
Modifiers | Name | Description |
---|---|---|
static class |
BuilderASTTransformation.AbstractBuilderStrategy |
|
interface |
BuilderASTTransformation.BuilderStrategy |
Modifiers | Name | Description |
---|---|---|
static String |
MY_TYPE_NAME |
|
static ClassNode[] |
NO_EXCEPTIONS |
|
static Parameter[] |
NO_PARAMS |
Fields inherited from class | Fields |
---|---|
class AbstractASTTransformation |
RETENTION_CLASSNODE |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
setCompilationUnit(CompilationUnit unit) |
|
public void |
visit(ASTNode[] nodes, SourceUnit source) |
Methods inherited from class | Name |
---|---|
class AbstractASTTransformation |
addError, checkPropertyList, checkPropertyList, checkPropertyList, deemedInternalName, getAnnotationName, getMemberClassList, getMemberClassValue, getMemberClassValue, getMemberIntValue, getMemberStringList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, memberHasValue, shouldSkip, shouldSkip, shouldSkipOnDescriptorUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, tokenize |