| Package | Description |
|---|---|
| org.inferred.freebuilder.processor | |
| org.inferred.freebuilder.processor.util |
| 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 |
|---|---|
com.google.common.collect.ImmutableSet<TypeReference> |
Metadata.getVisibleNestedTypes()
Returns a set of nested types that will be visible in the generated class, either because they
will be generated, or because they are present in a superclass.
|
| Modifier and Type | Method and Description |
|---|---|
Metadata.Builder |
Metadata.Builder.addVisibleNestedType(TypeReference nestedType)
Adds a nested type that will be visible in the generated class.
|
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 |
|---|---|
Metadata.Builder |
Metadata.Builder.addAllVisibleNestedTypes(Iterable<TypeReference> nestedType)
Adds nested types that will be visible in the generated class.
|
| 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.