- a - Variable in class com.google.auto.common.MoreTypes.ComparedElements
-
- AbortProcessingException - Exception in com.google.auto.value.processor
-
Exception thrown when annotation processing should be aborted for the current class.
- AbortProcessingException() - Constructor for exception com.google.auto.value.processor.AbortProcessingException
-
- abortWithError(String, Element) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
Issue a compilation error and return an exception that, when thrown, will cause the processing
of this class to be abandoned.
- abortWithError(String, Element) - Method in class com.google.auto.value.processor.ErrorReporter
-
Issue a compilation error and abandon the processing of this class.
- AbstractMethodExtractor - Class in com.google.auto.value.processor
-
An ultrasimplified Java parser for
EclipseHack
that examines classes to extract just
the abstract methods.
- AbstractMethodExtractor() - Constructor for class com.google.auto.value.processor.AbstractMethodExtractor
-
- AbstractMethodLister - Class in com.google.auto.value.processor
-
A class file parser that lists the no-arg abstract methods in a class.
- AbstractMethodLister(InputStream) - Constructor for class com.google.auto.value.processor.AbstractMethodLister
-
- AbstractMethodLister.RecordingClassVisitor - Class in com.google.auto.value.processor
-
- abstractMethods(JavaTokenizer, String) - Method in class com.google.auto.value.processor.AbstractMethodExtractor
-
- abstractMethods(TypeElement) - Method in class com.google.auto.value.processor.BuilderSpec
-
- abstractNoArgMethods() - Method in class com.google.auto.value.processor.AbstractMethodLister
-
- abstractNoArgMethods - Variable in class com.google.auto.value.processor.AbstractMethodLister.RecordingClassVisitor
-
- abstractNoArgMethodsX() - Method in class com.google.auto.value.processor.AbstractMethodLister
-
- actualTypeParametersString(TypeElement) - Static method in class com.google.auto.value.processor.TypeSimplifier
-
- actualTypes - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
The generic signature used by the generated subclass for its superclass reference.
- actualTypes - Variable in class com.google.auto.value.processor.GwtSerialization.GwtTemplateVars
-
The generic signature used by the generated subclass for its superclass reference.
- add(TypeMirror) - Method in class com.google.auto.value.processor.TypeMirrorSet
-
- addAbstractMethods(TypeMirror, List<ExecutableElement>) - Method in class com.google.auto.value.processor.BuilderSpec
-
- allGetters(Iterable<ExecutableElement>) - Static method in class com.google.auto.value.processor.AutoValueProcessor
-
- allowSubclasses - Variable in class com.google.auto.factory.processor.AutoFactoryDeclaration
-
- allowSubclasses() - Method in class com.google.auto.factory.processor.AutoFactoryDeclaration
-
- allowSubclasses - Variable in class com.google.auto.factory.processor.FactoryDescriptor
-
- allowSubclasses() - Method in class com.google.auto.factory.processor.FactoryDescriptor
-
- ambiguousNames(Types, Set<TypeMirror>) - Static method in class com.google.auto.value.processor.TypeSimplifier
-
- ancestorIsAutoValue(TypeElement) - Method in class com.google.auto.value.processor.AutoValueProcessor
-
- annotatedWithAutoFactory(Element) - Static method in class com.google.auto.factory.processor.ProvidedChecker
-
- ANNOTATION_MIRROR_EQUIVALENCE - Static variable in class com.google.auto.common.AnnotationMirrors
-
- ANNOTATION_VALUE_EQUIVALENCE - Static variable in class com.google.auto.common.AnnotationValues
-
- annotationFullName - Variable in class com.google.auto.value.processor.AutoAnnotationTemplateVars
-
The fully-qualified name of the annotation interface.
- AnnotationMirrors - Class in com.google.auto.common
-
A utility class for working with AnnotationMirror
instances.
- AnnotationMirrors() - Constructor for class com.google.auto.common.AnnotationMirrors
-
- annotationName - Variable in class com.google.auto.value.processor.AutoAnnotationTemplateVars
-
The name of the annotation interface as it can be referenced in the generated code.
- AnnotationOutput - Class in com.google.auto.value.processor
-
Handling of default values for annotation members.
- AnnotationOutput(TypeSimplifier) - Constructor for class com.google.auto.value.processor.AnnotationOutput
-
- annotationOutput - Variable in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
-
- AnnotationOutput.AnnotationSourceFormVisitor - Class in com.google.auto.value.processor
-
- AnnotationOutput.InitializerSourceFormVisitor - Class in com.google.auto.value.processor
-
- AnnotationOutput.SourceFormVisitor - Class in com.google.auto.value.processor
-
Visitor that produces a string representation of an annotation value, suitable for inclusion
in a Java source file as an annotation member or as the initializer of a variable of the
appropriate type.
- annotations() - Method in interface com.google.auto.common.BasicAnnotationProcessor.ProcessingStep
-
The set of annotation types processed by this step.
- annotations - Variable in class com.google.auto.value.processor.AutoValueProcessor.Property
-
- AnnotationSourceFormVisitor() - Constructor for class com.google.auto.value.processor.AnnotationOutput.AnnotationSourceFormVisitor
-
- AnnotationValues - Class in com.google.auto.common
-
A utility class for working with AnnotationValue
instances.
- AnnotationValues() - Constructor for class com.google.auto.common.AnnotationValues
-
- AnnotationValues - Class in com.google.auto.factory.processor
-
- AnnotationValues() - Constructor for class com.google.auto.factory.processor.AnnotationValues
-
- appendEscaped(StringBuilder, char) - Static method in class com.google.auto.value.processor.AnnotationOutput
-
- appendQuoted(StringBuilder, String) - Static method in class com.google.auto.value.processor.AnnotationOutput
-
- appendQuoted(StringBuilder, char) - Static method in class com.google.auto.value.processor.AnnotationOutput
-
- appendTypeArguments(DeclaredType, StringBuilder) - Method in class com.google.auto.value.processor.TypeSimplifier.ToStringRawTypeVisitor
-
- appendTypeArguments(DeclaredType, StringBuilder) - Method in class com.google.auto.value.processor.TypeSimplifier.ToStringTypeVisitor
-
- appendTypeParameterWithBounds(StringBuilder, TypeParameterElement) - Method in class com.google.auto.value.processor.TypeSimplifier
-
- argumentJoiner - Static variable in class com.google.auto.factory.processor.FactoryWriter
-
- arrays - Variable in class com.google.auto.value.processor.AutoAnnotationTemplateVars
-
The spelling of the java.util.Arrays class: Arrays or java.util.Arrays.
- arrays - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
The spelling of the java.util.Arrays class: Arrays or java.util.Arrays.
- AS_ELEMENT_VISITOR - Static variable in class com.google.auto.common.MoreTypes
-
- asArray(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a ArrayType
if the TypeMirror
represents a primitive array or
throws an IllegalArgumentException
.
- asBoolean(AnnotationValue) - Static method in class com.google.auto.factory.processor.AnnotationValues
-
- asDeclared(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a DeclaredType
if the TypeMirror
represents a declared type such
as a class, interface, union/compound, or enum or throws an IllegalArgumentException
.
- asElement(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
An alternate implementation of Types.asElement(javax.lang.model.type.TypeMirror)
that does not require a Types
instance with the notable difference that it will throw IllegalArgumentException
instead of returning null if the TypeMirror
can not be converted to an Element
.
- asError(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a ExecutableType
if the TypeMirror
represents an executable type such
as may result from missing code, or bad compiles or throws an IllegalArgumentException
.
- asExecutable(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns the given Element
instance as ExecutableElement
.
- asExecutable(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a ExecutableType
if the TypeMirror
represents an executable type such
as a method, constructor, or initializer or throws an IllegalArgumentException
.
- asKey() - Method in class com.google.auto.factory.processor.Parameter
-
- asList(AnnotationValue) - Static method in class com.google.auto.factory.processor.AnnotationValues
-
- asMemberOf(Types, DeclaredType, VariableElement) - Static method in class com.google.auto.common.MoreTypes
-
Resolves a VariableElement
parameter to a method or constructor based on the given
container, or a member of a class.
- asNoType(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a NoType
if the TypeMirror
represents an non-type such
as void, or package, etc.
- asNullType(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a NullType
if the TypeMirror
represents the null type
or throws an IllegalArgumentException
.
- asPackage(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns the given Element
instance as PackageElement
.
- asPrimitiveType(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a PrimitiveType
if the TypeMirror
represents a primitive type
or throws an IllegalArgumentException
.
- asType(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns the given Element
instance as TypeElement
.
- asType(AnnotationValue) - Static method in class com.google.auto.factory.processor.AnnotationValues
-
- asTypeElement(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
- asTypeElements(Iterable<? extends TypeMirror>) - Static method in class com.google.auto.common.MoreTypes
-
- asTypeVariable(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a TypeVariable
if the TypeMirror
represents a type variable
or throws an IllegalArgumentException
.
- asVariable(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns the given Element
instance as VariableElement
.
- asWildcard(WildcardType) - Static method in class com.google.auto.common.MoreTypes
-
Returns a WildcardType
if the TypeMirror
represents a wildcard type
or throws an IllegalArgumentException
.
- AutoAnnotation - Annotation Type in com.google.auto.value
-
Annotation that causes an implementation of an annotation interface to be generated.
- AutoAnnotationProcessor - Class in com.google.auto.value.processor
-
Javac annotation processor (compiler plugin) to generate annotation implementations.
- AutoAnnotationProcessor() - Constructor for class com.google.auto.value.processor.AutoAnnotationProcessor
-
- AutoAnnotationProcessor.Member - Class in com.google.auto.value.processor
-
- AutoAnnotationProcessor.Parameter - Class in com.google.auto.value.processor
-
- AutoAnnotationTemplateVars - Class in com.google.auto.value.processor
-
The variables to substitute into the autoannotation.vm template.
- AutoAnnotationTemplateVars() - Constructor for class com.google.auto.value.processor.AutoAnnotationTemplateVars
-
- AutoFactory - Annotation Type in com.google.auto.factory
-
An annotation to be applied to elements for which a factory should be automatically generated.
- AutoFactoryDeclaration - Class in com.google.auto.factory.processor
-
This is a value object that mirrors the static declaration of an
AutoFactory
annotation.
- AutoFactoryDeclaration(Element, Optional<String>, TypeElement, ImmutableSet<TypeElement>, boolean, AnnotationMirror, Map<String, AnnotationValue>) - Constructor for class com.google.auto.factory.processor.AutoFactoryDeclaration
-
- AutoFactoryDeclaration.Factory - Class in com.google.auto.factory.processor
-
- AutoFactoryProcessor - Class in com.google.auto.factory.processor
-
The annotation processor that generates factories for
AutoFactory
annotations.
- AutoFactoryProcessor() - Constructor for class com.google.auto.factory.processor.AutoFactoryProcessor
-
- AutoService - Annotation Type in com.google.auto.service
-
An annotation for service providers as described in ServiceLoader
.
- AutoServiceProcessor - Class in com.google.auto.service.processor
-
Processes
AutoService
annotations and generates the service provider
configuration files described in
ServiceLoader
.
- AutoServiceProcessor() - Constructor for class com.google.auto.service.processor.AutoServiceProcessor
-
- AutoValue - Annotation Type in com.google.auto.value
-
Specifies that
AutoValue should
generate an implementation class for the annotated abstract class, implementing the standard
Object
methods like
equals
to have conventional value semantics.
- AutoValue.Builder - Annotation Type in com.google.auto.value
-
Specifies that AutoValue should generate an implementation of the annotated class or interface,
to serve as a builder for the value-type class it is nested within.
- AutoValueBuilderProcessor - Class in com.google.auto.value.processor
-
Annotation processor that checks that the type that AutoValue.Builder
is applied to is
nested inside an @AutoValue
class.
- AutoValueBuilderProcessor() - Constructor for class com.google.auto.value.processor.AutoValueBuilderProcessor
-
- autoValueClass - Variable in class com.google.auto.value.processor.BuilderMethodClassifier
-
- autoValueClass - Variable in class com.google.auto.value.processor.BuilderSpec
-
- AutoValueProcessor - Class in com.google.auto.value.processor
-
Javac annotation processor (compiler plugin) for value types; user code never references this
class.
- AutoValueProcessor() - Constructor for class com.google.auto.value.processor.AutoValueProcessor
-
- AutoValueProcessor.ObjectMethodToOverride - Enum in com.google.auto.value.processor
-
- AutoValueProcessor.Property - Class in com.google.auto.value.processor
-
A property of an @AutoValue
class, defined by one of its abstract methods.
- AutoValueTemplateVars - Class in com.google.auto.value.processor
-
The variables to substitute into the autovalue.vm template.
- AutoValueTemplateVars() - Constructor for class com.google.auto.value.processor.AutoValueTemplateVars
-
- b - Variable in class com.google.auto.common.MoreTypes.ComparedElements
-
- BasicAnnotationProcessor - Class in com.google.auto.common
-
An abstract Processor
implementation that ensures that top-level Element
instances are well-formed before attempting to perform processing on any of their children.
- BasicAnnotationProcessor() - Constructor for class com.google.auto.common.BasicAnnotationProcessor
-
- BasicAnnotationProcessor.ProcessingStep - Interface in com.google.auto.common
-
The unit of processing logic that runs under the guarantee that all elements are complete and
well-formed.
- BinaryPropertyOrderer(URI) - Constructor for class com.google.auto.value.processor.EclipseHack.BinaryPropertyOrderer
-
- blockCommentEnd(int) - Method in class com.google.auto.value.processor.Reformatter.Tokenizer
-
- build() - Method in class com.google.auto.factory.processor.FactoryMethodDescriptor.Builder
-
- build() - Method in class com.google.auto.factory.processor.ImplementationMethodDescriptor.Builder
-
- buildAnnotations(TypeSimplifier) - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
- Builder(AutoFactoryDeclaration) - Constructor for class com.google.auto.factory.processor.FactoryMethodDescriptor.Builder
-
- Builder() - Constructor for class com.google.auto.factory.processor.ImplementationMethodDescriptor.Builder
-
- Builder(TypeElement) - Constructor for class com.google.auto.value.processor.BuilderSpec.Builder
-
- builderActualTypes - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
The generic signature used by the generated builder subclass for its superclass reference.
- builderFormalTypes - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
The formal generic signature of the AutoValue.Builder
class.
- builderFrom(TypeElement) - Method in class com.google.auto.value.processor.BuilderSpec
-
Returns a representation of the given @AutoValue.Builder
class or interface.
- builderIsInterface - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
True if the builder being implemented is an interface, false if it is an abstract class.
- BuilderMethodClassifier - Class in com.google.auto.value.processor
-
Classifies methods inside builder types, based on their names and parameter and return types.
- BuilderMethodClassifier(ErrorReporter, ProcessingEnvironment, TypeElement, TypeElement, ImmutableBiMap<ExecutableElement, String>) - Constructor for class com.google.auto.value.processor.BuilderMethodClassifier
-
- builderPropertyBuilders - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
A map from property names to information about the associated property builder.
- builderRequiredProperties - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
Properties that are required to be set.
- builderSetters - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
A multimap from property names (like foo) to the corresponding setters.
- builderSetters - Variable in class com.google.auto.value.processor.GwtSerialization.GwtTemplateVars
-
A multimap from property names (like foo) to the corresponding setter methods
(foo or setFoo).
- BuilderSpec - Class in com.google.auto.value.processor
-
Support for AutoValue builders.
- BuilderSpec(TypeElement, ProcessingEnvironment, ErrorReporter) - Constructor for class com.google.auto.value.processor.BuilderSpec
-
- BuilderSpec.Builder - Class in com.google.auto.value.processor
-
Representation of an AutoValue.Builder
class or interface.
- BuilderSpec.PropertyBuilder - Class in com.google.auto.value.processor
-
Information about a property builder, referenced from the autovalue.vm template.
- BuilderSpec.PropertySetter - Class in com.google.auto.value.processor
-
Information about a property setter, referenced from the autovalue.vm template.
- builderType - Variable in class com.google.auto.value.processor.BuilderMethodClassifier
-
- builderType - Variable in class com.google.auto.value.processor.BuilderSpec.PropertyBuilder
-
- builderTypeElement - Variable in class com.google.auto.value.processor.BuilderSpec.Builder
-
- builderTypeName - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
The name of the builder type as it should appear in source code, or empty if there is no
builder type.
- buildMethodName - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
The simple name of the builder's build method, often "build"
.
- buildMethods - Variable in class com.google.auto.value.processor.BuilderMethodClassifier
-
- buildMethods() - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
Returns the methods that were identified as build()
methods.
- buildNullableAnnotation(TypeSimplifier) - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
- c - Variable in class com.google.auto.value.processor.JavaTokenizer
-
- canMakeCopyUsing(ImmutableList<ExecutableElement>, ExecutableElement, ExecutableElement) - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
Checks that the given setter method has a parameter type that can be copied to the return type
of the given getter using one of the given copyOf
methods.
- canMakeCopyUsing(ExecutableElement, TypeMirror, TypeMirror) - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
Returns true if copyOfMethod
can be used to copy the parameterType
to the targetType
.
- CASTING_UNCHECKED_VISITOR - Static variable in class com.google.auto.value.processor.TypeSimplifier
-
- CastingTypeVisitor() - Constructor for class com.google.auto.common.MoreTypes.CastingTypeVisitor
-
- checkDuplicateGetters(Map<ExecutableElement, String>) - Method in class com.google.auto.value.processor.AutoValueProcessor
-
- checkImplementer(TypeElement, TypeElement) - Method in class com.google.auto.service.processor.AutoServiceProcessor
-
Verifies ServiceProvider
constraints on the concrete provider class.
- checkProvidedParameter(Element) - Method in class com.google.auto.factory.processor.ProvidedChecker
-
- checkSetterParameter(ExecutableElement, ExecutableElement) - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
Checks that the given setter method has a parameter type that is compatible with the return
type of the given getter.
- CLASS_OR_INTERFACE - Static variable in class com.google.auto.value.processor.BuilderSpec
-
- classFileUri - Variable in class com.google.auto.value.processor.EclipseHack.BinaryPropertyOrderer
-
- classHashString - Variable in class com.google.auto.value.processor.GwtSerialization.GwtTemplateVars
-
A string that should change if any salient details of the serialized class change.
- classify(Iterable<ExecutableElement>, ErrorReporter, ProcessingEnvironment, TypeElement, TypeElement, ImmutableBiMap<ExecutableElement, String>) - Static method in class com.google.auto.value.processor.BuilderMethodClassifier
-
Classifies the given methods from a builder type and its ancestors.
- classifyGetter(ExecutableElement, ExecutableElement) - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
- classifyMethod(ExecutableElement) - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
Classifies a method and update the state of this object based on what is found.
- classifyMethodNoArgs(ExecutableElement) - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
Classifies a method given that it has no arguments.
- classifyMethodOneArg(ExecutableElement) - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
Classifies a method given that it has one argument.
- classifyMethods(Iterable<ExecutableElement>) - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
Classifies the given methods and sets the state of this object based on what is found.
- classifyPropertyBuilder(ExecutableElement, String) - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
- className - Variable in class com.google.auto.factory.processor.AutoFactoryDeclaration
-
- className - Variable in class com.google.auto.value.processor.AutoAnnotationTemplateVars
-
The simple name of the generated class, like AutoAnnotation_Foo_bar
.
- classNameOf(TypeElement) - Static method in class com.google.auto.value.processor.TypeSimplifier
-
Returns the name of the given type, including any enclosing types but not the package.
- com.google.auto.common - package com.google.auto.common
-
- com.google.auto.factory - package com.google.auto.factory
-
- com.google.auto.factory.processor - package com.google.auto.factory.processor
-
This package contains the annotation processor that implements the
AutoFactory
API.
- com.google.auto.service - package com.google.auto.service
-
- com.google.auto.service.processor - package com.google.auto.service.processor
-
This package contains the annotation processor that implements the
AutoService
API.
- com.google.auto.value - package com.google.auto.value
-
- com.google.auto.value.processor - package com.google.auto.value.processor
-
This package contains the annotation processor that implements the
AutoValue
API.
- COM_GOOGLE_COMMON_COLLECT_IMMUTABLE - Static variable in class com.google.auto.value.processor.BuilderMethodClassifier
-
- ComparedElements(Element, Element) - Constructor for class com.google.auto.common.MoreTypes.ComparedElements
-
- compatibleTypes(TypeMirror, TypeMirror) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
Returns true if parameterType
can be used to provide the value of an annotation member
of type memberType
.
- compressBlankLines(String) - Static method in class com.google.auto.value.processor.Reformatter
-
- compressSpace(String) - Static method in class com.google.auto.value.processor.Reformatter
-
- computeClassHash(Iterable<AutoValueProcessor.Property>) - Method in class com.google.auto.value.processor.GwtSerialization
-
- contains(Object) - Method in class com.google.auto.value.processor.TypeMirrorSet
-
- containsArrayType(Set<TypeMirror>) - Static method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- containsArrayType(Set<TypeMirror>) - Static method in class com.google.auto.value.processor.AutoValueProcessor
-
- context - Variable in class com.google.auto.value.processor.AnnotationOutput.InitializerSourceFormVisitor
-
- context - Variable in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
-
- copy(AutoValueProcessor.Property) - Method in class com.google.auto.value.processor.BuilderSpec.PropertySetter
-
- copyAll - Variable in class com.google.auto.value.processor.BuilderSpec.PropertyBuilder
-
- copyFormat - Variable in class com.google.auto.value.processor.BuilderSpec.PropertySetter
-
- copyOfMethods(TypeMirror) - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
Returns copyOf
methods from the given type.
- createIfValid(Element) - Method in class com.google.auto.factory.processor.AutoFactoryDeclaration.Factory
-
- creationParameters - Variable in class com.google.auto.factory.processor.FactoryMethodDescriptor.Builder
-
- creationParameters(Iterable<Parameter>) - Method in class com.google.auto.factory.processor.FactoryMethodDescriptor.Builder
-
- creationParameters - Variable in class com.google.auto.factory.processor.FactoryMethodDescriptor
-
- creationParameters() - Method in class com.google.auto.factory.processor.FactoryMethodDescriptor
-
- generateConfigFiles() - Method in class com.google.auto.service.processor.AutoServiceProcessor
-
- generated - Variable in class com.google.auto.value.processor.AutoAnnotationTemplateVars
-
The spelling of the javax.annotation.Generated class: Generated or javax.annotation.Generated.
- generated - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
The spelling of the javax.annotation.Generated class: Generated or javax.annotation.Generated.
- generated - Variable in class com.google.auto.value.processor.GwtSerialization.GwtTemplateVars
-
The spelling of the javax.annotation.Generated class: Generated or
javax.annotation.Generated.
- generatedClassName(ExecutableElement) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- generatedClassName(TypeElement, String) - Method in class com.google.auto.value.processor.AutoValueProcessor
-
- generateDescriptor(Element) - Method in class com.google.auto.factory.processor.FactoryDescriptorGenerator
-
- generateDescriptorForConstructor(AutoFactoryDeclaration, ExecutableElement) - Method in class com.google.auto.factory.processor.FactoryDescriptorGenerator
-
- generateDescriptorForDefaultConstructor(AutoFactoryDeclaration, TypeElement) - Method in class com.google.auto.factory.processor.FactoryDescriptorGenerator
-
- generatedSubclassName(TypeElement) - Method in class com.google.auto.value.processor.AutoValueProcessor
-
- GET_BOUNDS - Static variable in class com.google.auto.common.MoreTypes
-
- getAccess() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
- getAnnotatedAnnotations(Element, Class<? extends Annotation>) - Static method in class com.google.auto.common.AnnotationMirrors
-
Returns all annotations that are present on the given
Element
which are themselves annotated with annotationType
.
- getAnnotatedType(Element) - Method in class com.google.auto.factory.processor.AutoFactoryProcessor
-
- getAnnotationElementAndValue(AnnotationMirror, String) - Static method in class com.google.auto.common.AnnotationMirrors
-
Returns a ExecutableElement
and its associated AnnotationValue
if such
an element was either declared in the usage represented by the provided
AnnotationMirror
, or if such an element was defined with a default.
- getAnnotationMirror(Element, Class<? extends Annotation>) - Static method in class com.google.auto.common.MoreElements
-
Returns an AnnotationMirror
for the annotation of type annotationClass
on
element
, or Optional.absent()
if no such annotation exists.
- getAnnotationMirror(Element, Class<? extends Annotation>) - Static method in class com.google.auto.factory.processor.Mirrors
-
Get the AnnotationMirror
for the type annotationType
present on the given
Element
if it exists.
- getAnnotationReturnType(ExecutableElement) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- getAnnotations() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
- getAnnotationValue(AnnotationMirror, String) - Static method in class com.google.auto.common.AnnotationMirrors
-
Returns an AnnotationValue
for the named element if such an element was
either declared in the usage represented by the provided AnnotationMirror
, or if
such an element was defined with a default.
- getAnnotationValuesWithDefaults(AnnotationMirror) - Static method in class com.google.auto.common.AnnotationMirrors
-
Returns the AnnotationMirror
's map of AnnotationValue
indexed by
ExecutableElement
, supplying default values from the annotation if the
annotation property has not been set.
- getBinaryName(TypeElement) - Method in class com.google.auto.service.processor.AutoServiceProcessor
-
Returns the binary name of a reference type.
- getBinaryNameImpl(TypeElement, String) - Method in class com.google.auto.service.processor.AutoServiceProcessor
-
- getBuilder() - Method in class com.google.auto.value.processor.BuilderSpec
-
Determines if the @AutoValue
class for this instance has a correct nested
@AutoValue.Builder
class or interface and return a representation of it in an
Optional
if so.
- getBuilderType() - Method in class com.google.auto.value.processor.BuilderSpec.PropertyBuilder
-
The type of the builder, for example ImmutableSet.Builder<String>
.
- getClassName() - Method in class com.google.auto.factory.processor.AutoFactoryDeclaration
-
- getComponentType() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
-
- getConstructors(TypeElement) - Static method in class com.google.auto.factory.processor.Elements2
-
- getCopyAll() - Method in class com.google.auto.value.processor.BuilderSpec.PropertyBuilder
-
The method to copy another immutable collection into this one.
- getDefaultValue() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
-
- getDefaultValues(TypeElement) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- getEnclosingType(Element) - Static method in class com.google.auto.common.BasicAnnotationProcessor
-
Returns the nearest enclosing TypeElement
to the current element, throwing
an IllegalArgumentException
if the provided Element
is a
PackageElement
or is otherwise not enclosed by a type.
- getExecutableElementAsMemberOf(Types, ExecutableElement, TypeElement) - Static method in class com.google.auto.factory.processor.Elements2
-
Given an executable element in a supertype, returns its ExecutableType when it is viewed as a
member of a subtype.
- getFactoryName(Name, Name) - Method in class com.google.auto.factory.processor.AutoFactoryDeclaration
-
- getGetter() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
Returns the name of the getter method for this property as defined by the @AutoValue
class.
- getGetter() - Method in class com.google.auto.value.processor.GwtSerialization.Property
-
- getGwtCast() - Method in class com.google.auto.value.processor.GwtSerialization.Property
-
Returns a string to be inserted before the call to the readFoo() call so that the expression
can be assigned to the given type.
- getGwtType() - Method in class com.google.auto.value.processor.GwtSerialization.Property
-
Returns the suffix in serializer method names for values of the given type.
- getInitializer() - Method in class com.google.auto.value.processor.BuilderSpec.PropertyBuilder
-
An initializer for the builder field, for example ImmutableSet.builder()
.
- getKind() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
-
- getKind() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Parameter
-
- getKind() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
- getMemberMethods(TypeElement) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- getMembers(Element, ImmutableMap<String, ExecutableElement>, TypeSimplifier, AnnotationOutput) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- getMemberTypes(Collection<ExecutableElement>) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- getName() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
Returns the name of the property as it should be used in strings visible to users.
- getName() - Method in class com.google.auto.value.processor.BuilderSpec.PropertySetter
-
- getName() - Method in class com.google.auto.value.processor.GwtSerialization.Property
-
- getNullableAnnotation() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
- getOwner() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
- getPackage(Element) - Static method in class com.google.auto.common.MoreElements
-
An alternate implementation of Elements.getPackageOf(javax.lang.model.element.Element)
that does not require an
Elements
instance.
- getPackage(CharSequence) - Static method in class com.google.auto.factory.processor.FactoryWriter
-
- getParameters(TypeElement, ExecutableElement, Map<String, AutoAnnotationProcessor.Member>, TypeSimplifier) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- getParameterType() - Method in class com.google.auto.value.processor.BuilderSpec.PropertySetter
-
- getPath(String) - Static method in class com.google.auto.service.processor.ServicesFiles
-
Returns an absolute path to a service file given the class
name of the service.
- getPropertyOrderer(TypeElement) - Method in class com.google.auto.value.processor.EclipseHack
-
- getProviderInterface(AnnotationMirror) - Method in class com.google.auto.service.processor.AutoServiceProcessor
-
- getQualifiedName(DeclaredType) - Static method in class com.google.auto.factory.processor.Mirrors
-
- getQualifier() - Method in class com.google.auto.factory.processor.Key
-
- getReferencedTypes(TypeMirror, ExecutableElement, Set<TypeMirror>, Set<Class<?>>) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- getSerialVersionUID(TypeElement) - Method in class com.google.auto.value.processor.AutoValueProcessor
-
- getSimpleName(CharSequence) - Static method in class com.google.auto.factory.processor.FactoryWriter
-
- getSupportedAnnotationClasses() - Method in class com.google.auto.common.BasicAnnotationProcessor
-
- getSupportedAnnotationTypes() - Method in class com.google.auto.common.BasicAnnotationProcessor
-
Returns the set of supported annotation types as a collected from registered
processing steps.
- getSupportedAnnotationTypes() - Method in class com.google.auto.factory.processor.AutoFactoryProcessor
-
- getSupportedAnnotationTypes() - Method in class com.google.auto.service.processor.AutoServiceProcessor
-
- getSupportedAnnotationTypes() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- getSupportedAnnotationTypes() - Method in class com.google.auto.value.processor.AutoValueBuilderProcessor
-
- getSupportedAnnotationTypes() - Method in class com.google.auto.value.processor.AutoValueProcessor
-
- getSupportedSourceVersion() - Method in class com.google.auto.factory.processor.AutoFactoryProcessor
-
- getSupportedSourceVersion() - Method in class com.google.auto.service.processor.AutoServiceProcessor
-
- getSupportedSourceVersion() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- getSupportedSourceVersion() - Method in class com.google.auto.value.processor.AutoValueBuilderProcessor
-
- getSupportedSourceVersion() - Method in class com.google.auto.value.processor.AutoValueProcessor
-
- getterNameToGetter - Variable in class com.google.auto.value.processor.BuilderMethodClassifier
-
- getterToPropertyName - Variable in class com.google.auto.value.processor.BuilderMethodClassifier
-
- getType() - Method in class com.google.auto.factory.processor.Key
-
- getType() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
-
- getType() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Parameter
-
- getType() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
- getType() - Method in class com.google.auto.value.processor.GwtSerialization.Property
-
- getTypeMirror(Class<?>) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- getTypeMirror() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
-
- getTypeMirror(Class<?>) - Method in class com.google.auto.value.processor.AutoValueProcessor
-
- getTypeMirror() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
- GwtCompatibility - Class in com.google.auto.value.processor
-
- GwtCompatibility(TypeElement) - Constructor for class com.google.auto.value.processor.GwtCompatibility
-
- gwtCompatibility - Variable in class com.google.auto.value.processor.GwtSerialization
-
- gwtCompatibleAnnotation - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
The full spelling of the @GwtCompatible
annotation to add to this class, or an empty
string if there is none.
- gwtCompatibleAnnotation - Variable in class com.google.auto.value.processor.GwtCompatibility
-
- gwtCompatibleAnnotation() - Method in class com.google.auto.value.processor.GwtCompatibility
-
- gwtCompatibleAnnotationString() - Method in class com.google.auto.value.processor.GwtCompatibility
-
- GwtSerialization - Class in com.google.auto.value.processor
-
Generates GWT serialization code for @AutoValue
classes also marked
@GwtCompatible(serializable = true)
.
- GwtSerialization(GwtCompatibility, ProcessingEnvironment, TypeElement) - Constructor for class com.google.auto.value.processor.GwtSerialization
-
- GwtSerialization.GwtTemplateVars - Class in com.google.auto.value.processor
-
- GwtSerialization.Property - Class in com.google.auto.value.processor
-
- GwtTemplateVars() - Constructor for class com.google.auto.value.processor.GwtSerialization.GwtTemplateVars
-
- PACKAGE_ELEMENT_VISITOR - Static variable in class com.google.auto.common.MoreElements
-
- packageNameOf(TypeElement) - Static method in class com.google.auto.value.processor.TypeSimplifier
-
Returns the name of the package that the given type is in.
- Parameter - Class in com.google.auto.factory.processor
-
- Parameter(Optional<String>, String, String) - Constructor for class com.google.auto.factory.processor.Parameter
-
- Parameter(TypeMirror, TypeSimplifier) - Constructor for class com.google.auto.value.processor.AutoAnnotationProcessor.Parameter
-
- parameterTokens(Collection<Parameter>) - Static method in class com.google.auto.factory.processor.FactoryWriter
-
- parameterTypeString - Variable in class com.google.auto.value.processor.BuilderSpec.PropertySetter
-
- params - Variable in class com.google.auto.value.processor.AutoAnnotationTemplateVars
-
The parameters in the @AutoAnnotation
method, which are also the constructor parameters
in the generated class.
- parsedTemplate() - Method in class com.google.auto.value.processor.AutoAnnotationTemplateVars
-
- parsedTemplate() - Method in class com.google.auto.value.processor.AutoValueTemplateVars
-
- parsedTemplate() - Method in class com.google.auto.value.processor.GwtSerialization.GwtTemplateVars
-
- parsedTemplate() - Method in class com.google.auto.value.processor.TemplateVars
-
- parsedTemplateForResource(String) - Static method in class com.google.auto.value.processor.TemplateVars
-
- passedParameters - Variable in class com.google.auto.factory.processor.FactoryMethodDescriptor.Builder
-
- passedParameters(Iterable<Parameter>) - Method in class com.google.auto.factory.processor.FactoryMethodDescriptor.Builder
-
- passedParameters - Variable in class com.google.auto.factory.processor.FactoryMethodDescriptor
-
- passedParameters() - Method in class com.google.auto.factory.processor.FactoryMethodDescriptor
-
- passedParameters - Variable in class com.google.auto.factory.processor.ImplementationMethodDescriptor.Builder
-
- passedParameters(Iterable<Parameter>) - Method in class com.google.auto.factory.processor.ImplementationMethodDescriptor.Builder
-
- passedParameters - Variable in class com.google.auto.factory.processor.ImplementationMethodDescriptor
-
- passedParameters() - Method in class com.google.auto.factory.processor.ImplementationMethodDescriptor
-
- pkg - Variable in class com.google.auto.value.processor.AutoAnnotationTemplateVars
-
The package of the class containing the @AutoAnnotation
annotation, which is also the
package where the annotation implementation will be generated.
- pkg - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
The package of the class with the @AutoValue
annotation and its generated subclass.
- pkg - Variable in class com.google.auto.value.processor.GwtSerialization.GwtTemplateVars
-
The package of the class with the @AutoValue
annotation and its generated subclass.
- postProcess() - Method in class com.google.auto.common.BasicAnnotationProcessor
-
An optional hook for logic to be executed at the end of each round.
- prefixWithSet(String) - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.google.auto.common.BasicAnnotationProcessor
-
- process(SetMultimap<Class<? extends Annotation>, Element>) - Method in interface com.google.auto.common.BasicAnnotationProcessor.ProcessingStep
-
The implementation of processing logic for the step.
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.google.auto.factory.processor.AutoFactoryProcessor
-
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.google.auto.service.processor.AutoServiceProcessor
-
For each class annotated with
AutoService
Verify the
AutoService
interface value is correct
Categorize the class by its service interface
For each
AutoService
interface
Create a file named
META-INF/services/<interface>
For each
AutoService
annotated class for this interface
Create an entry in the file
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- process(RoundEnvironment) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.google.auto.value.processor.AutoValueBuilderProcessor
-
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.google.auto.value.processor.AutoValueProcessor
-
- processAnnotations(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.google.auto.service.processor.AutoServiceProcessor
-
- processImpl(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.google.auto.service.processor.AutoServiceProcessor
-
- processingEnv - Variable in class com.google.auto.value.processor.AnnotationOutput.InitializerSourceFormVisitor
-
- processingEnv - Variable in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
-
- processingEnv - Variable in class com.google.auto.value.processor.BuilderSpec
-
- processingEnv - Variable in class com.google.auto.value.processor.EclipseHack
-
- processingEnv - Variable in class com.google.auto.value.processor.GwtSerialization
-
- processMethod(ExecutableElement) - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
-
- processorName - Variable in class com.google.auto.common.BasicAnnotationProcessor
-
- processType(TypeElement) - Method in class com.google.auto.value.processor.AutoValueProcessor
-
- propertiesWithBuilderGetters - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
Properties that have getters in the builder.
- propertiesWithBuilderGetters - Variable in class com.google.auto.value.processor.BuilderMethodClassifier
-
- propertiesWithBuilderGetters() - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
Returns the set of properties that have getters in the builder.
- Property(String, String, ExecutableElement, String, TypeSimplifier) - Constructor for class com.google.auto.value.processor.AutoValueProcessor.Property
-
- Property(AutoValueProcessor.Property) - Constructor for class com.google.auto.value.processor.GwtSerialization.Property
-
- property - Variable in class com.google.auto.value.processor.GwtSerialization.Property
-
- PropertyBuilder(ExecutableElement, ExecutableElement, TypeSimplifier) - Constructor for class com.google.auto.value.processor.BuilderSpec.PropertyBuilder
-
- propertyNameToPrefixedSetters - Variable in class com.google.auto.value.processor.BuilderMethodClassifier
-
- propertyNameToPropertyBuilder - Variable in class com.google.auto.value.processor.BuilderMethodClassifier
-
- propertyNameToPropertyBuilder() - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
- propertyNameToSetters() - Method in class com.google.auto.value.processor.BuilderMethodClassifier
-
Returns a multimap from the name of a property to the methods that set it.
- propertyNameToUnprefixedSetters - Variable in class com.google.auto.value.processor.BuilderMethodClassifier
-
- PropertySetter(ExecutableElement, TypeMirror, TypeSimplifier) - Constructor for class com.google.auto.value.processor.BuilderSpec.PropertySetter
-
- props - Variable in class com.google.auto.value.processor.AutoValueTemplateVars
-
The properties defined by the parent class's abstract methods.
- props - Variable in class com.google.auto.value.processor.GwtSerialization.GwtTemplateVars
-
The properties defined by the parent class's abstract methods.
- Provided - Annotation Type in com.google.auto.factory
-
An annotation to be applied to parameters that should be provided by an
injected Provider
in a generated factory.
- providedChecker - Variable in class com.google.auto.factory.processor.AutoFactoryProcessor
-
- ProvidedChecker - Class in com.google.auto.factory.processor
-
- ProvidedChecker(Messager) - Constructor for class com.google.auto.factory.processor.ProvidedChecker
-
- providedParameters - Variable in class com.google.auto.factory.processor.FactoryMethodDescriptor.Builder
-
- providedParameters(Iterable<Parameter>) - Method in class com.google.auto.factory.processor.FactoryMethodDescriptor.Builder
-
- providedParameters - Variable in class com.google.auto.factory.processor.FactoryMethodDescriptor
-
- providedParameters() - Method in class com.google.auto.factory.processor.FactoryMethodDescriptor
-
- providerNames - Variable in class com.google.auto.factory.processor.FactoryDescriptor
-
- providerNames() - Method in class com.google.auto.factory.processor.FactoryDescriptor
-
- providers - Variable in class com.google.auto.service.processor.AutoServiceProcessor
-
Maps the class names of service provider interfaces to the
class names of the concrete classes which implement them.
- publicMethod - Variable in class com.google.auto.factory.processor.FactoryMethodDescriptor.Builder
-
- publicMethod() - Method in class com.google.auto.factory.processor.FactoryMethodDescriptor.Builder
-
- publicMethod(boolean) - Method in class com.google.auto.factory.processor.FactoryMethodDescriptor.Builder
-
- publicMethod - Variable in class com.google.auto.factory.processor.FactoryMethodDescriptor
-
- publicMethod() - Method in class com.google.auto.factory.processor.FactoryMethodDescriptor
-
- publicMethod - Variable in class com.google.auto.factory.processor.ImplementationMethodDescriptor.Builder
-
- publicMethod() - Method in class com.google.auto.factory.processor.ImplementationMethodDescriptor.Builder
-
- publicMethod(boolean) - Method in class com.google.auto.factory.processor.ImplementationMethodDescriptor.Builder
-
- publicMethod - Variable in class com.google.auto.factory.processor.ImplementationMethodDescriptor
-
- publicMethod() - Method in class com.google.auto.factory.processor.ImplementationMethodDescriptor
-
- publicType - Variable in class com.google.auto.factory.processor.FactoryDescriptor
-
- publicType() - Method in class com.google.auto.factory.processor.FactoryDescriptor
-