Class BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo

java.lang.Object
org.codehaus.groovy.transform.BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo
Enclosing class:
BuilderASTTransformation.AbstractBuilderStrategy

protected static class BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo extends Object
Holds information about a builder property.
  • Constructor Details

    • PropertyInfo

      public PropertyInfo(String name, ClassNode type)
      Creates a new property information holder.
      Parameters:
      name - the property name
      type - the property class type
  • Method Details

    • getName

      public String getName()
      Gets the property name.
      Returns:
      the property name
    • getType

      public ClassNode getType()
      Gets the property type.
      Returns:
      the property ClassNode
    • setName

      public void setName(String name)
      Sets the property name.
      Parameters:
      name - the property name
    • setType

      public void setType(ClassNode type)
      Sets the property type.
      Parameters:
      type - the property ClassNode