| Package | Description |
|---|---|
| org.inferred.freebuilder.processor |
| Modifier and Type | Method and Description |
|---|---|
Metadata.Builder |
Metadata.Builder.addAllProperties(Iterable<Metadata.Property> properties)
Adds metadata about a set of properties of the type.
|
Metadata.Builder |
Metadata.Builder.addProperty(Metadata.Property property)
Adds metadata about a property of the type.
|
Metadata.Builder |
Metadata.Builder.putAllStandardMethodUnderrides(Map<? extends Metadata.StandardMethod,? extends Metadata.UnderrideLevel> standardMethodUnderrides)
Copies all the entries from a map of underridden standard methods.
|
Metadata.Builder |
Metadata.Builder.putStandardMethodUnderride(Metadata.StandardMethod standardMethod,
Metadata.UnderrideLevel underrideLevel)
Puts an underridden standard method into the map.
|
Metadata.Builder |
Metadata.Builder.setBuilder(TypeElement builder)
Sets the builder class that users will see.
|
Metadata.Builder |
Metadata.Builder.setBuilderFactory(BuilderFactory builderFactory)
Sets the builder factory mechanism the user has exposed.
|
Metadata.Builder |
Metadata.Builder.setBuilderFactory(com.google.common.base.Optional<BuilderFactory> builderFactory)
Sets the builder factory mechanism the user has exposed, if any.
|
Metadata.Builder |
Metadata.Builder.setBuilderSerializable(boolean builderSerializable)
Sets whether the generated builder should be serializable.
|
Metadata.Builder |
Metadata.Builder.setGeneratedBuilder(ImpliedClass generatedBuilder)
Sets the builder class that should be generated.
|
Metadata.Builder |
Metadata.Builder.setGwtCompatible(boolean gwtCompatible)
Sets whether the type (and hence the generated builder type) is GWT compatible.
|
Metadata.Builder |
Metadata.Builder.setGwtSerializable(boolean gwtSerializable)
Sets whether the type (and hence the generated value type) is GWT serializable.
|
Metadata.Builder |
Metadata.Builder.setPartialType(ImpliedClass.ImpliedNestedClass partialType)
Sets the partial type that should be generated.
|
Metadata.Builder |
Metadata.Builder.setPropertyEnum(ImpliedClass.ImpliedNestedClass propertyEnum)
Sets the property enum that may be generated.
|
Metadata.Builder |
Metadata.Builder.setType(TypeElement type)
Sets the type the metadata object being built is referring to.
|
Metadata.Builder |
Metadata.Builder.setValueType(ImpliedClass.ImpliedNestedClass valueType)
Sets the value type that should be generated.
|
Copyright © 2015 Google, Inc.. All rights reserved.