| Modifier and Type | Class and Description |
|---|---|
static class |
Metadata.Property.Builder
Builder for
Metadata.Property. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAllCapsName()
Returns the name of the property in all-caps with underscores, e.g.
|
TypeMirror |
getBoxedType()
Returns the boxed form of
getType(), or null if type is not primitive. |
String |
getCapitalizedName()
Returns the capitalized name of the property, e.g.
|
PropertyCodeGenerator |
getCodeGenerator()
Returns the code generator to use for this property, or null if no generator has been picked
(i.e.
|
String |
getGetterName()
Returns the name of the getter for the property, e.g.
|
String |
getName()
Returns the name of the property, e.g.
|
TypeMirror |
getType()
Returns the type of the property.
|
int |
hashCode() |
boolean |
isFullyCheckedCast()
Returns true if a cast to this property type is guaranteed to be fully checked at runtime.
|
String |
toString() |
public TypeMirror getType()
public TypeMirror getBoxedType()
getType(), or null if type is not primitive.public String getName()
public String getCapitalizedName()
public String getAllCapsName()
public String getGetterName()
public PropertyCodeGenerator getCodeGenerator()
PropertyCodeGenerator.Factory.create(org.inferred.freebuilder.processor.PropertyCodeGenerator.Config).public boolean isFullyCheckedCast()
Integer, List or Map<?, ?>.Copyright © 2015 Google, Inc.. All rights reserved.