Package org.codehaus.groovy.transform
Class BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo
java.lang.Object
org.codehaus.groovy.transform.BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo
- Enclosing class:
- BuilderASTTransformation.AbstractBuilderStrategy
Holds information about a builder property.
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyInfo(String name, ClassNode type) Creates a new property information holder. -
Method Summary
-
Constructor Details
-
PropertyInfo
Creates a new property information holder.- Parameters:
name- the property nametype- the property class type
-
-
Method Details
-
getName
Gets the property name.- Returns:
- the property name
-
getType
Gets the property type.- Returns:
- the property ClassNode
-
setName
Sets the property name.- Parameters:
name- the property name
-
setType
Sets the property type.- Parameters:
type- the property ClassNode
-