| Package | Description |
|---|---|
| org.inferred.freebuilder.processor | |
| org.inferred.freebuilder.processor.util |
| Modifier and Type | Field and Description |
|---|---|
TypeReference |
Metadata.Builder.partialType |
TypeReference |
Metadata.Builder.propertyEnum |
TypeReference |
Metadata.Builder.valueType |
| Modifier and Type | Method and Description |
|---|---|
TypeReference |
Metadata.getGeneratedBuilder()
Returns the builder class that should be generated.
|
TypeReference |
Metadata.getPartialType()
Returns the partial value class that should be generated.
|
TypeReference |
Metadata.getPropertyEnum()
Returns the Property enum that may be generated.
|
TypeReference |
Metadata.getValueType()
Returns the value class that should be generated.
|
| Modifier and Type | Method and Description |
|---|---|
Metadata.Builder |
Metadata.Builder.setGeneratedBuilder(TypeReference generatedBuilder)
Sets the builder class that should be generated.
|
Metadata.Builder |
Metadata.Builder.setPartialType(TypeReference partialType)
Sets the partial type that should be generated.
|
Metadata.Builder |
Metadata.Builder.setPropertyEnum(TypeReference propertyEnum)
Sets the property enum that may be generated.
|
Metadata.Builder |
Metadata.Builder.setValueType(TypeReference valueType)
Sets the value type that should be generated.
|
| Modifier and Type | Method and Description |
|---|---|
TypeReference |
TypeReference.getEnclosingType()
Returns a
TypeReference to the type enclosing this one. |
TypeReference |
TypeReference.nestedType(String simpleName) |
static TypeReference |
TypeReference.to(String packageName,
String topLevelType,
String... nestedTypes)
Returns a
TypeReference for a type in packageName. |
static TypeReference |
TypeReference.to(TypeElement type)
Returns a
TypeReference for type. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<TypeReference> |
SourceLevel.javaUtilObjects() |
| Constructor and Description |
|---|
CompilationUnitWriter(Filer filer,
Elements elements,
SourceLevel sourceLevel,
TypeReference classToWrite,
Collection<TypeReference> nestedClasses,
Element originatingElement)
Returns a
CompilationUnitWriter for classToWrite. |
| Constructor and Description |
|---|
CompilationUnitWriter(Filer filer,
Elements elements,
SourceLevel sourceLevel,
TypeReference classToWrite,
Collection<TypeReference> nestedClasses,
Element originatingElement)
Returns a
CompilationUnitWriter for classToWrite. |
Copyright © 2015 Google, Inc.. All rights reserved.