| Modifier and Type | Interface and Description |
|---|---|
static class |
Metadata.Property.Builder
Builder for
Metadata.Property. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
com.google.common.collect.ImmutableSet<TypeElement> |
getNullableAnnotations()
Returns the
@Nullable annotations that have been applied to this property. |
TypeMirror |
getType()
Returns the type of the property.
|
boolean |
isFullyCheckedCast()
Returns true if a cast to this property type is guaranteed to be fully checked at runtime.
|
TypeMirror getType()
@Nullable TypeMirror getBoxedType()
getType(), or null if type is not primitive.String getName()
String getCapitalizedName()
String getAllCapsName()
String getGetterName()
@Nullable PropertyCodeGenerator getCodeGenerator()
PropertyCodeGenerator.Factory.create(org.inferred.freebuilder.processor.PropertyCodeGenerator.Config).boolean isFullyCheckedCast()
Integer, List or Map<?, ?>.com.google.common.collect.ImmutableSet<TypeElement> getNullableAnnotations()
@Nullable annotations that have been applied to this property.Copyright © 2015 Google, Inc.. All rights reserved.