[Java] Class AbstractBuilderStrategy
- org.codehaus.groovy.transform.BuilderASTTransformation.AbstractBuilderStrategy
- All Implemented Interfaces and Traits:
- BuilderStrategy
public static abstract class BuilderASTTransformation.AbstractBuilderStrategy
Nested Class Summary
Modifiers | Name | Description |
---|---|---|
protected static class | BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected void |
checkKnownField(BuilderASTTransformation transform, AnnotationNode anno, String name, List<FieldNode> fields) | |
protected void |
checkKnownProperty(BuilderASTTransformation transform, AnnotationNode anno, String name, List<PropertyInfo> properties) | |
protected boolean |
getIncludeExclude(BuilderASTTransformation transform, AnnotationNode anno, ClassNode cNode, List<String> excludes, List<String> includes) | |
protected static List<PropertyInfo> |
getPropertyInfoFromClassNode(ClassNode cNode, List<String> includes, List<String> excludes) | |
protected String |
getSetterName(String prefix, String fieldName) | |
protected boolean |
unsupportedAttribute(BuilderASTTransformation transform, AnnotationNode anno, String memberName) | |
protected boolean |
unsupportedAttribute(BuilderASTTransformation transform, AnnotationNode anno, String memberName, String extraMessage) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
protected void checkKnownField(BuilderASTTransformation transform, AnnotationNode anno, String name, List<FieldNode> fields)
protected void checkKnownProperty(BuilderASTTransformation transform, AnnotationNode anno, String name, List<PropertyInfo> properties)
protected boolean getIncludeExclude(BuilderASTTransformation transform, AnnotationNode anno, ClassNode cNode, List<String> excludes, List<String> includes)
protected static List<PropertyInfo> getPropertyInfoFromClassNode(ClassNode cNode, List<String> includes, List<String> excludes)
protected String getSetterName(String prefix, String fieldName)
protected boolean unsupportedAttribute(BuilderASTTransformation transform, AnnotationNode anno, String memberName)
protected boolean unsupportedAttribute(BuilderASTTransformation transform, AnnotationNode anno, String memberName, String extraMessage)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/transform/BuilderASTTransformation.AbstractBuilderStrategy.html