Package org.codehaus.groovy.transform

# 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 Summary

  Constructors
  Constructor
  Description
  `PropertyInfo(String name, ClassNode type)`
  Creates a new property information holder.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getName()`
  Gets the property name.
  `ClassNode`
  `getType()`
  Gets the property type.
  `void`
  `setName(String name)`
  Sets the property name.
  `void`
  `setType(ClassNode type)`
  Sets the property type.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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