@GroovyASTTransformation(phase = CompilePhase.SEMANTIC_ANALYSIS) public class BuilderASTTransformation extends AbstractASTTransformation
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, sourceUnit |
Type | Name and description |
---|---|
void |
setCompilationUnit(CompilationUnit unit) |
void |
visit(ASTNode[] nodes, SourceUnit source) |
Methods inherited from class | Name |
---|---|
class AbstractASTTransformation |
addError, checkIncludeExclude, checkIncludeExclude, checkNotInterface, copyAnnotatedNodeAnnotations, deemedInternalName, getClassList, getMemberClassValue, getMemberClassValue, getMemberIntValue, getMemberList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, init, memberHasValue, nonGeneric, shouldSkip, shouldSkipOnDescriptor, tokenize |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |