- add(String, Object...) - Method in class org.inferred.freebuilder.processor.util.CompilationUnitBuilder
-
- add(Excerpt) - Method in class org.inferred.freebuilder.processor.util.CompilationUnitBuilder
-
- add(String, Object...) - Method in interface org.inferred.freebuilder.processor.util.SourceBuilder
-
Appends formatted text to the source.
- add(Excerpt) - Method in interface org.inferred.freebuilder.processor.util.SourceBuilder
-
Equivalent to add("%s", excerpt).
- add(Excerpt) - Method in class org.inferred.freebuilder.processor.util.SourceStringBuilder
-
- add(String, Object...) - Method in class org.inferred.freebuilder.processor.util.SourceStringBuilder
-
- add(String, Object) - Method in interface org.inferred.freebuilder.processor.util.ValueType.FieldReceiver
-
- addAccessorAnnotations(SourceBuilder) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
- addAllMethod(Metadata.Property) - Static method in class org.inferred.freebuilder.processor.BuilderMethods
-
- addBuilderFieldAccessors(SourceBuilder, Metadata) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Add the accessor methods for the property to the builder's source code.
- addBuilderFieldDeclaration(SourceBuilder) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Add the field declaration for the property to the builder's source code.
- addClear(SourceBuilder, String) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Adds a clear call for the property given a template builder to the builder's source code.
- addCopiesMethod(Metadata.Property) - Static method in class org.inferred.freebuilder.processor.BuilderMethods
-
- addFields(ValueType.FieldReceiver) - Method in class org.inferred.freebuilder.processor.util.ParameterizedType
-
- addFields(ValueType.FieldReceiver) - Method in class org.inferred.freebuilder.processor.util.QualifiedName
-
- addFields(ValueType.FieldReceiver) - Method in class org.inferred.freebuilder.processor.util.ValueType
-
Implement this method to report the name and value of each field.
- addFinalFieldAssignment(SourceBuilder, String, String) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Add the final assignment of the property to the value object's source code.
- addGetterAnnotations(SourceBuilder) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Adds method annotations for the value type getter method.
- addLine(String, Object...) - Method in class org.inferred.freebuilder.processor.util.CompilationUnitBuilder
-
- addLine(String, Object...) - Method in interface org.inferred.freebuilder.processor.util.SourceBuilder
-
Appends a formatted line of code to the source.
- addLine(String, Object...) - Method in class org.inferred.freebuilder.processor.util.SourceStringBuilder
-
- addMergeFromBuilder(SourceBuilder, Metadata, String) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Add a merge from builder for the property to the builder's source code.
- addMergeFromValue(SourceBuilder, String) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Add a merge from value for the property to the builder's source code.
- addMethod(Metadata.Property) - Static method in class org.inferred.freebuilder.processor.BuilderMethods
-
- addNewBuilder(SourceBuilder, ParameterizedType) - Method in enum org.inferred.freebuilder.processor.BuilderFactory
-
Adds a code snippet calling the Builder factory method.
- addPartialClear(SourceBuilder) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Adds a partial clear call for the property to the builder's source code.
- addPartialFieldAssignment(SourceBuilder, String, String) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Add the final assignment of the property to the partial value object's source code.
- addReadValueFragment(SourceBuilder, String) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Adds a fragment converting the value object's field to the property's type.
- addSetFromResult(SourceBuilder, String, String) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Adds a set call for the property from a function result to the builder's source code.
- addSource(SourceBuilder, AnnotationMirror) - Static method in class org.inferred.freebuilder.processor.util.AnnotationSource
-
Adds a source-code representation of annotation to .
- addTo(SourceBuilder) - Method in enum org.inferred.freebuilder.processor.Metadata.Visibility
-
- addTo(SourceBuilder) - Method in interface org.inferred.freebuilder.processor.util.Excerpt
-
- addTo(SourceBuilder) - Method in class org.inferred.freebuilder.processor.util.ParameterizedType
-
- addValueFieldDeclaration(SourceBuilder, String) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Add the field declaration for the property to the value's source code.
- annotatedElementsIn(RoundEnvironment, Class<? extends Annotation>) - Static method in class org.inferred.freebuilder.processor.util.RoundEnvironments
-
- AnnotationSource - Class in org.inferred.freebuilder.processor.util
-
Static methods for annotation-related source-code generation.
- apply(TypeMirror) - Method in class org.inferred.freebuilder.processor.util.IsInvalidTypeVisitor
-
Returns true if input is neither null nor invalid.
- asElement(DeclaredType) - Static method in class org.inferred.freebuilder.processor.util.ModelUtils
-
- checkArgument(Object, String, Object...) - Static method in class org.inferred.freebuilder.processor.util.PreconditionExcerpts
-
Returns an excerpt equivalent to Guava's
Preconditions.checkArgument(boolean, String, Object...).
- CheckedList - Class in org.inferred.freebuilder.processor.excerpt
-
Excerpts defining a list implementation that delegates to a provided add method to perform
element validation and insertion into a random-access backing list.
- CheckedListMultimap - Class in org.inferred.freebuilder.processor.excerpt
-
Excerpts defining a multimap implementation that delegates to a provided put method to perform
entry validation and insertion into a backing multimap.
- CheckedMap - Class in org.inferred.freebuilder.processor.excerpt
-
Excerpts defining a map implementation that delegates to a provided put method to perform entry
validation and insertion into a backing map.
- CheckedMap() - Constructor for class org.inferred.freebuilder.processor.excerpt.CheckedMap
-
- CheckedMultiset - Class in org.inferred.freebuilder.processor.excerpt
-
Excerpts defining a multiset implementation that delegates to a provided setCount method to
perform element validation and insertion into a backing multiset.
- CheckedMultiset() - Constructor for class org.inferred.freebuilder.processor.excerpt.CheckedMultiset
-
- CheckedSet - Class in org.inferred.freebuilder.processor.excerpt
-
Excerpts defining a set implementation that delegates to a provided add method to perform
element validation and insertion into a backing set.
- CheckedSetMultimap - Class in org.inferred.freebuilder.processor.excerpt
-
Excerpts defining a multimap implementation that delegates to a provided put method to perform
entry validation and insertion into a backing multimap.
- CheckedSetMultimap() - Constructor for class org.inferred.freebuilder.processor.excerpt.CheckedSetMultimap
-
- checkNotNull(Object) - Static method in class org.inferred.freebuilder.processor.util.PreconditionExcerpts
-
Returns an excerpt equivalent to Guava's Preconditions.checkNotNull(Object).
- checkNotNullInline(Object) - Static method in class org.inferred.freebuilder.processor.util.PreconditionExcerpts
-
Returns an excerpt equivalent to an inline call to Guava's
Preconditions.checkNotNull(Object).
- checkNotNullPreamble(Object) - Static method in class org.inferred.freebuilder.processor.util.PreconditionExcerpts
-
Returns an excerpt of the preamble required to emulate an inline call to Guava's
Preconditions.checkNotNull(Object) method.
- checkState(Object, String, Object...) - Static method in class org.inferred.freebuilder.processor.util.PreconditionExcerpts
-
Returns an excerpt equivalent to Guava's
Preconditions.checkState(boolean, String, Object...).
- clearMethod(Metadata.Property) - Static method in class org.inferred.freebuilder.processor.BuilderMethods
-
- CodeGenerator - Class in org.inferred.freebuilder.processor
-
- CodeGenerator() - Constructor for class org.inferred.freebuilder.processor.CodeGenerator
-
- compareTo(StaticExcerpt) - Method in class org.inferred.freebuilder.processor.util.StaticExcerpt
-
- CompilationUnitBuilder - Class in org.inferred.freebuilder.processor.util
-
SourceBuilder which also handles package declaration and imports.
- CompilationUnitBuilder(ProcessingEnvironment, QualifiedName, Collection<QualifiedName>) - Constructor for class org.inferred.freebuilder.processor.util.CompilationUnitBuilder
-
- constructor() - Method in class org.inferred.freebuilder.processor.util.ParameterizedType
-
Returns a source excerpt suitable for constructing an instance of this type, including "new"
keyword but excluding brackets.
- consumer() - Method in enum org.inferred.freebuilder.processor.util.feature.FunctionPackage
-
Parameterized type for java.util.function.Consumer<T>, if available.
- create(PropertyCodeGenerator.Config) - Method in class org.inferred.freebuilder.processor.BuildablePropertyFactory
-
- create(PropertyCodeGenerator.Config) - Method in class org.inferred.freebuilder.processor.DefaultPropertyFactory
-
- create(PropertyCodeGenerator.Config) - Method in class org.inferred.freebuilder.processor.ListMultimapPropertyFactory
-
- create(PropertyCodeGenerator.Config) - Method in class org.inferred.freebuilder.processor.ListPropertyFactory
-
- create(PropertyCodeGenerator.Config) - Method in class org.inferred.freebuilder.processor.MapPropertyFactory
-
- create(PropertyCodeGenerator.Config) - Method in class org.inferred.freebuilder.processor.MultisetPropertyFactory
-
- create(PropertyCodeGenerator.Config) - Method in class org.inferred.freebuilder.processor.NullablePropertyFactory
-
- create(PropertyCodeGenerator.Config) - Method in class org.inferred.freebuilder.processor.OptionalPropertyFactory
-
- create(PropertyCodeGenerator.Config) - Method in class org.inferred.freebuilder.processor.SetMultimapPropertyFactory
-
- create(PropertyCodeGenerator.Config) - Method in class org.inferred.freebuilder.processor.SetPropertyFactory
-
- get(FeatureType<T>) - Method in class org.inferred.freebuilder.processor.util.feature.EnvironmentFeatureSet
-
- get(FeatureType<T>) - Method in interface org.inferred.freebuilder.processor.util.feature.FeatureSet
-
Returns an instance of featureType.
- get(FeatureType<T>) - Method in class org.inferred.freebuilder.processor.util.feature.StaticFeatureSet
-
Returns the registered instance of
featureType, or the value of
FeatureType.testDefault() if no explicit instance was registered with this set.
- GET_CODE_GENERATOR - Static variable in class org.inferred.freebuilder.processor.Metadata
-
- getAccessorAnnotations() - Method in interface org.inferred.freebuilder.processor.Metadata.Property
-
Returns a list of annotations that should be applied to the accessor methods of this
property; that is, the getter method, and a single setter method that will accept the result
of the getter method as its argument.
- getAllCapsName() - Method in interface org.inferred.freebuilder.processor.Metadata.Property
-
Returns the name of the property in all-caps with underscores, e.g.
- getBoxedType() - Method in interface org.inferred.freebuilder.processor.Metadata.Property
-
- getBuilder() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns the builder type that users will see.
- getBuilderFactory() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns the builder factory mechanism the user has exposed, if any.
- getBuilderMethod(Metadata.Property) - Static method in class org.inferred.freebuilder.processor.BuilderMethods
-
- getCapitalizedName() - Method in interface org.inferred.freebuilder.processor.Metadata.Property
-
Returns the capitalized name of the property, e.g.
- getCodeGenerator() - Method in interface org.inferred.freebuilder.processor.Metadata.Property
-
Returns the code generator to use for this property, or null if no generator has been picked
(i.e.
- getEnclosingType() - Method in class org.inferred.freebuilder.processor.util.QualifiedName
-
- getGeneratedBuilder() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns the builder class that should be generated.
- getGeneratedBuilderAnnotations() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns a list of annotations that should be applied to the generated builder class.
- getGetterName() - Method in interface org.inferred.freebuilder.processor.Metadata.Property
-
Returns the name of the getter for the property, e.g.
- getName() - Method in interface org.inferred.freebuilder.processor.Metadata.Property
-
Returns the name of the property, e.g.
- getName() - Method in class org.inferred.freebuilder.processor.util.StaticExcerpt
-
- getNestedClasses() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns a list of nested classes that should be added to the generated builder class.
- getOwnMethodInvocations(ExecutableElement) - Method in class org.inferred.freebuilder.processor.MethodIntrospector
-
Returns a set of methods which are definitely invoked on this in the given method,
or the empty set if method introspection is not supported on this compiler.
- getPackage() - Method in class org.inferred.freebuilder.processor.util.QualifiedName
-
- getPartialType() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns the partial value class that should be generated.
- getProperties() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns metadata about the properties of the type.
- getPropertyEnum() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns the Property enum that may be generated.
- getQualifiedName() - Method in class org.inferred.freebuilder.processor.util.ParameterizedType
-
- getSimpleName() - Method in class org.inferred.freebuilder.processor.util.ParameterizedType
-
- getSimpleName() - Method in class org.inferred.freebuilder.processor.util.QualifiedName
-
- getSimpleNames() - Method in class org.inferred.freebuilder.processor.util.QualifiedName
-
- getStandardMethodUnderrides() - Method in class org.inferred.freebuilder.processor.Metadata
-
- getStaticExcerpts() - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Returns excerpts for any static types or methods added by this generator.
- getSupportedAnnotationTypes() - Method in class org.inferred.freebuilder.processor.Processor
-
- getSupportedSourceVersion() - Method in class org.inferred.freebuilder.processor.Processor
-
- getter(Metadata.Property) - Static method in class org.inferred.freebuilder.processor.BuilderMethods
-
- getType() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns the type itself.
- getType() - Method in interface org.inferred.freebuilder.processor.Metadata.Property
-
Returns the type of the property.
- getType() - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Returns whether the property is required, optional, or has a default.
- getType() - Method in class org.inferred.freebuilder.processor.util.StaticExcerpt
-
- getValueType() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns the value class that should be generated.
- getValueTypeAnnotations() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns a list of annotations that should be applied to the generated value class.
- getValueTypeVisibility() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns the visibility of the generated value class.
- getVisibleNestedTypes() - Method in class org.inferred.freebuilder.processor.Metadata
-
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.
- GUAVA - Static variable in enum org.inferred.freebuilder.processor.util.feature.GuavaLibrary
-
- GuavaLibrary - Enum in org.inferred.freebuilder.processor.util.feature
-
Whether the Guava library is available or not.
- valueOf(String) - Static method in enum org.inferred.freebuilder.processor.BuilderFactory
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.inferred.freebuilder.processor.Metadata.StandardMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.inferred.freebuilder.processor.Metadata.UnderrideLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.inferred.freebuilder.processor.Metadata.Visibility
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.inferred.freebuilder.processor.PropertyCodeGenerator.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.inferred.freebuilder.processor.util.feature.FunctionPackage
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.inferred.freebuilder.processor.util.feature.GuavaLibrary
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.inferred.freebuilder.processor.util.feature.SourceLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.inferred.freebuilder.processor.util.StaticExcerpt.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.inferred.freebuilder.processor.BuilderFactory
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.inferred.freebuilder.processor.Metadata.StandardMethod
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.inferred.freebuilder.processor.Metadata.UnderrideLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.inferred.freebuilder.processor.Metadata.Visibility
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.inferred.freebuilder.processor.PropertyCodeGenerator.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.inferred.freebuilder.processor.util.feature.FunctionPackage
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.inferred.freebuilder.processor.util.feature.GuavaLibrary
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.inferred.freebuilder.processor.util.feature.SourceLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.inferred.freebuilder.processor.util.StaticExcerpt.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- ValueType - Class in org.inferred.freebuilder.processor.util
-
- ValueType() - Constructor for class org.inferred.freebuilder.processor.util.ValueType
-
- ValueType.FieldReceiver - Interface in org.inferred.freebuilder.processor.util
-
An object that receives fields (names and current values) for processing.
- visitArray(ArrayType, Void) - Method in class org.inferred.freebuilder.processor.util.IsInvalidTypeVisitor
-
- visitDeclared(DeclaredType, Void) - Method in class org.inferred.freebuilder.processor.util.IsInvalidTypeVisitor
-
- visitError(ErrorType, Void) - Method in class org.inferred.freebuilder.processor.util.IsInvalidTypeVisitor
-
- visitExecutable(ExecutableType, Void) - Method in class org.inferred.freebuilder.processor.util.IsInvalidTypeVisitor
-
- visitNoType(NoType, Void) - Method in class org.inferred.freebuilder.processor.util.IsInvalidTypeVisitor
-
- visitNull(NullType, Void) - Method in class org.inferred.freebuilder.processor.util.IsInvalidTypeVisitor
-
- visitPrimitive(PrimitiveType, Void) - Method in class org.inferred.freebuilder.processor.util.IsInvalidTypeVisitor
-
- visitTypeVariable(TypeVariable, Void) - Method in class org.inferred.freebuilder.processor.util.IsInvalidTypeVisitor
-
- visitWildcard(WildcardType, Void) - Method in class org.inferred.freebuilder.processor.util.IsInvalidTypeVisitor
-