- accept(ElementVisitor<R, P>, P) - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- accept(TypeVisitor<R, P>, P) - Method in class org.inferred.freebuilder.processor.util.MethodElement.MethodType
-
- accept(ElementVisitor<R, P>, P) - Method in class org.inferred.freebuilder.processor.util.MethodElement.ParameterElement
-
- add(String, Object...) - Method in class org.inferred.freebuilder.processor.util.SourceWriter
-
Appends formatted text to the source.
- addAllProperties(Iterable<Metadata.Property>) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Adds metadata about a set of properties of the type.
- addAllUnderriddenMethods(Iterable<Metadata.StandardMethod>) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Add a set of underridden standard methods.
- addAnnotationMirror(AnnotationMirror) - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- addAnnotationMirror(AnnotationMirror) - Method in class org.inferred.freebuilder.processor.util.MethodElement.ParameterElement
-
- addBuilderFieldAccessors(SourceWriter, Metadata) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Add the accessor methods for the property to the builder's source code.
- addBuilderFieldDeclaration(SourceWriter) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Add the field declaration for the property to the builder's source code.
- addClear(SourceWriter, 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.
- addFinalFieldAssignment(SourceWriter, String, String) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Add the final assignment of the property to the value object's source code.
- addLine(String, Object...) - Method in class org.inferred.freebuilder.processor.util.SourceWriter
-
Appends a formatted line of code to the source.
- addMergeFromBuilder(SourceWriter, 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(SourceWriter, String) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Add a merge from value for the property to the builder's source code.
- addModifier(Modifier) - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- addNewBuilder(SourceWriter, TypeElement) - Method in enum org.inferred.freebuilder.processor.BuilderFactory
-
Adds a code snippet calling the Builder factory method.
- addParameter(MethodElement.ParameterElement) - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- addPartialClear(SourceWriter) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Adds a partial clear call for the property to the builder's source code.
- addPartialFieldAssignment(SourceWriter, 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.
- addProperty(Metadata.Property) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Adds metadata about a property of the type.
- addReadValueFragment(SourceWriter, String) - Method in class org.inferred.freebuilder.processor.PropertyCodeGenerator
-
Adds a fragment converting the value object's field to the property's type.
- addSetFromResult(SourceWriter, 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.
- addThrownType(TypeMirror) - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- addUnderriddenMethod(Metadata.StandardMethod) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Add an underridden standard method.
- addValueFieldDeclaration(SourceWriter, 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
-
- apply(TypeMirror) - Method in class org.inferred.freebuilder.processor.util.IsInvalidTypeVisitor
-
Returns true if input is neither null nor invalid.
- asType() - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- asType() - Method in class org.inferred.freebuilder.processor.util.MethodElement.ParameterElement
-
- getAllCapsName() - Method in class org.inferred.freebuilder.processor.Metadata.Property
-
Returns the name of the property in all-caps with underscores, e.g.
- getAnnotation(Class<A>) - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- getAnnotation(Class<A>) - Method in class org.inferred.freebuilder.processor.util.MethodElement.ParameterElement
-
- getAnnotationMirrors() - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- getAnnotationMirrors() - Method in class org.inferred.freebuilder.processor.util.MethodElement.ParameterElement
-
- getBoxedType() - Method in class 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.
- getCapitalizedName() - Method in class org.inferred.freebuilder.processor.Metadata.Property
-
Returns the capitalized name of the property, e.g.
- getCodeGenerator() - Method in class 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.
- getConstantValue() - Method in class org.inferred.freebuilder.processor.util.MethodElement.ParameterElement
-
- getDefaultValue() - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
Deprecated.
Always returns null.
- getEnclosedElements() - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
Deprecated.
Always returns an empty list.
- getEnclosedElements() - Method in class org.inferred.freebuilder.processor.util.MethodElement.ParameterElement
-
- getEnclosingElement() - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- getEnclosingElement() - Method in class org.inferred.freebuilder.processor.util.MethodElement.ParameterElement
-
- getGeneratedBuilder() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns the builder class that should be generated.
- getGetterName() - Method in class org.inferred.freebuilder.processor.Metadata.Property
-
Returns the name of the getter for the property, e.g.
- getKind() - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- getKind() - Method in class org.inferred.freebuilder.processor.util.MethodElement.MethodType
-
- getKind() - Method in class org.inferred.freebuilder.processor.util.MethodElement.ParameterElement
-
- getModifiers() - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- getModifiers() - Method in class org.inferred.freebuilder.processor.util.MethodElement.ParameterElement
-
- getName() - Method in class org.inferred.freebuilder.processor.Metadata.Property
-
Returns the name of the property, e.g.
- 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.Metadata
-
Returns the package the type is in.
- getParameters() - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- getParameterTypes() - Method in class org.inferred.freebuilder.processor.util.MethodElement.MethodType
-
- 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 properies of the type.
- getPropertyEnum() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns the Property enum that may be generated.
- getReturnType() - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- getReturnType() - Method in class org.inferred.freebuilder.processor.util.MethodElement.MethodType
-
- getSimpleName() - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- getSimpleName() - Method in class org.inferred.freebuilder.processor.util.MethodElement.ParameterElement
-
- getSupportedAnnotationTypes() - Method in class org.inferred.freebuilder.processor.Processor
-
- getSupportedSourceVersion() - Method in class org.inferred.freebuilder.processor.Processor
-
- getThrownTypes() - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- getThrownTypes() - Method in class org.inferred.freebuilder.processor.util.MethodElement.MethodType
-
- getType() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns the type itself.
- getType() - Method in class 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.
- getTypeParameters() - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
Deprecated.
Always returns an empty list..
- getTypeVariables() - Method in class org.inferred.freebuilder.processor.util.MethodElement.MethodType
-
Deprecated.
Always returns an empty list.
- getUnderriddenMethods() - Method in class org.inferred.freebuilder.processor.Metadata
-
- getValueType() - Method in class org.inferred.freebuilder.processor.Metadata
-
Returns the value class that should be generated.
- setAllCapsName(String) - Method in class org.inferred.freebuilder.processor.Metadata.Property.Builder
-
Sets the all-caps name of the property.
- setBoxedType(TypeMirror) - Method in class org.inferred.freebuilder.processor.Metadata.Property.Builder
-
Sets the boxed type of the property (null if the original type is not primitive).
- setBuilder(TypeElement) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Sets the builder class that users will see.
- setBuilderFactory(BuilderFactory) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Sets the builder factory mechanism the user has exposed.
- setBuilderFactory(Optional<BuilderFactory>) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Sets the builder factory mechanism the user has exposed, if any.
- setBuilderSerializable(boolean) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Sets whether the generated builder should be serializable.
- setCapitalizedName(String) - Method in class org.inferred.freebuilder.processor.Metadata.Property.Builder
-
Sets the capitalized name of the property.
- setCodeGenerator(PropertyCodeGenerator) - Method in class org.inferred.freebuilder.processor.Metadata.Property.Builder
-
Sets the code generator to use for this property.
- setFinal() - Method in class org.inferred.freebuilder.processor.util.MethodElement.ParameterElement
-
- setFullyCheckedCast(Boolean) - Method in class org.inferred.freebuilder.processor.Metadata.Property.Builder
-
Sets whether a cast to this property type is guaranteed to be fully checked by the
compiler.
- setGeneratedBuilder(ImpliedClass) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Sets the builder class that should be generated.
- setGetterName(String) - Method in class org.inferred.freebuilder.processor.Metadata.Property.Builder
-
Sets the name of the getter for the property.
- setGwtSerializable(boolean) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Sets whether the type (and hence the generated value type) is GWT serializable.
- setModifiers(Iterable<Modifier>) - Method in class org.inferred.freebuilder.processor.util.MethodElement.ParameterElement
-
- setModifiers(Iterable<? extends Modifier>) - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- SetMultimapPropertyFactory - Class in org.inferred.freebuilder.processor
-
PropertyCodeGenerator.Factory providing append-only semantics for SetMultimap
properties.
- SetMultimapPropertyFactory() - Constructor for class org.inferred.freebuilder.processor.SetMultimapPropertyFactory
-
- setName(String) - Method in class org.inferred.freebuilder.processor.Metadata.Property.Builder
-
Sets the name of the property.
- setPartialType(ImpliedClass.ImpliedNestedClass) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Sets the partial type that should be generated.
- setPropertyEnum(ImpliedClass.ImpliedNestedClass) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Sets the property enum that may be generated.
- SetPropertyFactory - Class in org.inferred.freebuilder.processor
-
PropertyCodeGenerator.Factory providing append-only semantics for
Set
properties.
- SetPropertyFactory() - Constructor for class org.inferred.freebuilder.processor.SetPropertyFactory
-
- setType(TypeElement) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Sets the type the metadata object being built is referring to.
- setType(TypeMirror) - Method in class org.inferred.freebuilder.processor.Metadata.Property.Builder
-
Sets the type of the property.
- setValueType(ImpliedClass.ImpliedNestedClass) - Method in class org.inferred.freebuilder.processor.Metadata.Builder
-
Sets the value type that should be generated.
- setVarArgs(boolean) - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
- SourceWriter - Class in org.inferred.freebuilder.processor.util
-
Convenience wrapper around the
Writer instances returned by
Filer.
- startWritingTo(SourceWriter) - Method in class org.inferred.freebuilder.processor.util.MethodElement
-
Writes the signature of this
MethodElement out to
writer, and returns another
SourceWriter to append the method implementation to.