Package org.codehaus.groovy.transform
Class BuilderASTTransformation.AbstractBuilderStrategy
java.lang.Object
org.codehaus.groovy.transform.BuilderASTTransformation.AbstractBuilderStrategy
- All Implemented Interfaces:
BuilderASTTransformation.BuilderStrategy
- Direct Known Subclasses:
DefaultStrategy,ExternalStrategy,InitializerStrategy,SimpleStrategy
- Enclosing class:
BuilderASTTransformation
public abstract static class BuilderASTTransformation.AbstractBuilderStrategy
extends Object
implements BuilderASTTransformation.BuilderStrategy
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckKnownField(BuilderASTTransformation transform, AnnotationNode anno, String name, List<FieldNode> fields) protected voidcheckKnownProperty(BuilderASTTransformation transform, AnnotationNode anno, String name, List<BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo> properties) protected booleangetIncludeExclude(BuilderASTTransformation transform, AnnotationNode anno, ClassNode cNode, List<String> excludes, List<String> includes) protected static List<BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo> protected StringgetSetterName(String prefix, String fieldName) protected booleanunsupportedAttribute(BuilderASTTransformation transform, AnnotationNode anno, String memberName) protected booleanunsupportedAttribute(BuilderASTTransformation transform, AnnotationNode anno, String memberName, String extraMessage) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.groovy.transform.BuilderASTTransformation.BuilderStrategy
build
-
Constructor Details
-
AbstractBuilderStrategy
public AbstractBuilderStrategy()
-
-
Method Details
-
getPropertyInfoFromClassNode
-
getSetterName
-
unsupportedAttribute
protected boolean unsupportedAttribute(BuilderASTTransformation transform, AnnotationNode anno, String memberName) -
unsupportedAttribute
protected boolean unsupportedAttribute(BuilderASTTransformation transform, AnnotationNode anno, String memberName, String extraMessage) -
checkKnownProperty
protected void checkKnownProperty(BuilderASTTransformation transform, AnnotationNode anno, String name, List<BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo> properties) -
checkKnownField
protected void checkKnownField(BuilderASTTransformation transform, AnnotationNode anno, String name, List<FieldNode> fields) -
getIncludeExclude
protected boolean getIncludeExclude(BuilderASTTransformation transform, AnnotationNode anno, ClassNode cNode, List<String> excludes, List<String> includes)
-