| Modifier and Type | Field and Description |
|---|---|
| private static final ClassNode |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Statement | |
| private static Statement | |
| public Statement | createPropInit(AbstractASTTransformation
the transform being processed xform, AnnotationNode the '@ImmutableBase' annotation node anno, ClassNode the classnode containing the property cNode, PropertyNode the property node to initialize pNode, Parameter an "args" Map if the property value should come from a named arg map or null if not namedArgsMap)Implements abstract groovy. |
| private static Statement | |
| public boolean | validateAttributes(AbstractASTTransformation xform, AnnotationNode anno)
Implements abstract groovy. |
| public boolean | validateProperties(AbstractASTTransformation xform, BlockStatement body, ClassNode cNode, List<PropertyNode> props)
Overrides groovy. |
| IMMUTABLE_XFORM_TYPE | back to summary |
|---|---|
| private static final ClassNode IMMUTABLE_XFORM_TYPE | |
| DefaultPropertyHandler | back to summary |
|---|---|
| public DefaultPropertyHandler() | |
| assignFieldS | back to summary |
|---|---|
| private static Statement assignFieldS(boolean useSetters, Parameter map, String name) | |
| assignToFieldS | back to summary |
|---|---|
| private static Statement assignToFieldS(String name, Expression var) | |
| createPropInit | back to summary |
|---|---|
| public Statement createPropInit(AbstractASTTransformation xform, AnnotationNode anno, ClassNode cNode, PropertyNode pNode, Parameter namedArgsMap) Implements abstract groovy. Doc from groovy. Create a statement that will initialize the property including any defensive copying. Null if no statement should be added.
| |
| setViaSetterS | back to summary |
|---|---|
| private static Statement setViaSetterS(String name, Expression var) | |
| validateAttributes | back to summary |
|---|---|
| public boolean validateAttributes(AbstractASTTransformation xform, AnnotationNode anno) Implements abstract groovy.
| |
| validateProperties | back to summary |
|---|---|
| public boolean validateProperties(AbstractASTTransformation xform, BlockStatement body, ClassNode cNode, List<PropertyNode> props) Overrides groovy.
| |