A B C D E G H I M N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abstractMethods() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the complete set of abstract methods defined in or inherited by the
@AutoValue
class. - allowSubclasses() - Method in annotation type com.google.auto.factory.AutoFactory
-
Whether or not the generated factory should be final.
- AnnotationMirrors - Class in com.google.auto.common
-
A utility class for working with
AnnotationMirror
instances. - annotations() - Method in interface com.google.auto.common.BasicAnnotationProcessor.ProcessingStep
-
The set of annotation types processed by this step.
- AnnotationValues - Class in com.google.auto.common
-
A utility class for working with
AnnotationValue
instances. - applicable(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.AutoValueExtension
-
Determines whether this Extension applies to the given context.
- asArray(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a
ArrayType
if theTypeMirror
represents a primitive array or throws anIllegalArgumentException
. - asDeclared(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a
DeclaredType
if theTypeMirror
represents a declared type such as a class, interface, union/compound, or enum or throws anIllegalArgumentException
. - 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 aTypes
instance with the notable difference that it will throwIllegalArgumentException
instead of returning null if theTypeMirror
can not be converted to anElement
. - asError(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a
ExecutableType
if theTypeMirror
represents an executable type such as may result from missing code, or bad compiles or throws anIllegalArgumentException
. - asExecutable(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns the given
Element
instance asExecutableElement
. - asExecutable(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a
ExecutableType
if theTypeMirror
represents an executable type such as a method, constructor, or initializer or throws anIllegalArgumentException
. - 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 theTypeMirror
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 theTypeMirror
represents the null type or throws anIllegalArgumentException
. - asPackage(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns the given
Element
instance asPackageElement
. - asPrimitiveType(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a
PrimitiveType
if theTypeMirror
represents a primitive type or throws anIllegalArgumentException
. - asType(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns the given
Element
instance asTypeElement
. - 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 theTypeMirror
represents a type variable or throws anIllegalArgumentException
. - asVariable(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns the given
Element
instance asVariableElement
. - asWildcard(WildcardType) - Static method in class com.google.auto.common.MoreTypes
-
Returns a
WildcardType
if theTypeMirror
represents a wildcard type or throws anIllegalArgumentException
. - 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
- AutoFactory - Annotation Type in com.google.auto.factory
-
An annotation to be applied to elements for which a factory should be automatically generated.
- 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 inServiceLoader
. - AutoServiceProcessor() - Constructor for class com.google.auto.service.processor.AutoServiceProcessor
- AutoValue - Annotation Type in com.google.auto.value
- 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() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the annotated class that this generation cycle is based on.
- AutoValueExtension - Class in com.google.auto.value.extension
-
This API is not final and WILL CHANGE in a future release.
- AutoValueExtension() - Constructor for class com.google.auto.value.extension.AutoValueExtension
- AutoValueExtension.Context - Interface in com.google.auto.value.extension
-
The context of the generation cycle.
- 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(Iterable<? extends AutoValueExtension>) - Constructor for class com.google.auto.value.processor.AutoValueProcessor
- AutoValueProcessor.Property - Class in com.google.auto.value.processor
-
A property of an
@AutoValue
class, defined by one of its abstract methods.
B
- BasicAnnotationProcessor - Class in com.google.auto.common
- 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.
C
- className() - Method in annotation type com.google.auto.factory.AutoFactory
-
The simple name of the generated factory; the factory is always generated in the same package as the annotated type.
- 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.extension - package com.google.auto.value.extension
- com.google.auto.value.processor - package com.google.auto.value.processor
-
This package contains the annotation processor that implements the
AutoValue
API. - com.google.auto.value.processor.escapevelocity - package com.google.auto.value.processor.escapevelocity
- consumeMethods(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.AutoValueExtension
-
Returns a possible empty set of abstract methods that this Extension intends to implement.
- consumeProperties(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.AutoValueExtension
-
Returns a possibly empty set of property names that this Extension intends to implement.
D
- DEFAULT - com.google.auto.common.Visibility
E
- effectiveVisibilityOfElement(Element) - Static method in enum com.google.auto.common.Visibility
-
Returns effective visibility of the given element meaning that it takes into account the visibility of its enclosing elements.
- equals(Object) - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
- equivalence() - Static method in class com.google.auto.common.AnnotationMirrors
-
Returns an
Equivalence
forAnnotationMirror
as some implementations delegate equality tests toObject.equals(java.lang.Object)
whereas the documentation explicitly states that instance/reference equality is not the proper test. - equivalence() - Static method in class com.google.auto.common.AnnotationValues
-
Returns an
Equivalence
forAnnotationValue
as annotation values may containAnnotationMirror
instances some of whose implementations delegate equality tests toObject.equals(java.lang.Object)
whereas the documentation explicitly states that instance/reference equality is not the proper test. - equivalence() - Static method in class com.google.auto.common.MoreTypes
- evaluate(Map<String, ?>) - Method in class com.google.auto.value.processor.escapevelocity.Template
-
Evaluate the given template with the given initial set of variables.
- EvaluationException - Exception in com.google.auto.value.processor.escapevelocity
-
An exception that occurred while evaluating a template, such as an undefined variable reference or a division by zero.
- extending() - Method in annotation type com.google.auto.factory.AutoFactory
-
The type that the generated factory is require to extend.
G
- generateClass(AutoValueExtension.Context, String, String, boolean) - Method in class com.google.auto.value.extension.AutoValueExtension
-
Generates the source code of the class named
className
to extendclassToExtend
. - 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 withannotationType
. - getAnnotationElementAndValue(AnnotationMirror, String) - Static method in class com.google.auto.common.AnnotationMirrors
-
Returns a
ExecutableElement
and its associatedAnnotationValue
if such an element was either declared in the usage represented by the providedAnnotationMirror
, 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 typeannotationClass
onelement
, orOptional.absent()
if no such annotation exists. - 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 providedAnnotationMirror
, 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 ofAnnotationValue
indexed byExecutableElement
, supplying default values from the annotation if the annotation property has not been set. - getComponentType() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- getDefaultValue() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- getEmpty() - Method in class com.google.auto.value.processor.Optionalish
-
Returns a string representing the method call to obtain the empty version of this Optional.
- 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. - 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
- getLocalAndInheritedMethods(TypeElement, Elements) - Static method in class com.google.auto.common.MoreElements
-
Returns the set of all non-private methods from
type
, including methods that it inherits from its ancestors. - 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.
- getNullableAnnotation() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
Returns the string to use as an annotation to indicate the nullability of this property.
- getOptional() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
Returns an
Optionalish
representing the kind of Optional that this property's type is, or null if the type is not an Optional of any kind. - 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 anElements
instance. - getRawType() - Method in class com.google.auto.value.processor.Optionalish
-
Returns a string representing the raw type of this Optional.
- 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
- 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
- getTypeMirror() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- getTypeMirror() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
H
- hashCode() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
- hasModifiers(Set<Modifier>) - Static method in class com.google.auto.common.MoreElements
-
Returns a
Predicate
that can be used to filter elements byModifier
. - hasModifiers(Modifier...) - Static method in class com.google.auto.common.MoreElements
-
Returns a
Predicate
that can be used to filter elements byModifier
.
I
- implementing() - Method in annotation type com.google.auto.factory.AutoFactory
-
A list of interfaces that the generated factory is required to implement.
- init(ProcessingEnvironment) - Method in class com.google.auto.common.BasicAnnotationProcessor
- init(ProcessingEnvironment) - Method in class com.google.auto.factory.processor.AutoFactoryProcessor
- init(ProcessingEnvironment) - Method in class com.google.auto.value.processor.AutoValueProcessor
- initSteps() - Method in class com.google.auto.common.BasicAnnotationProcessor
-
Creates processing steps for this processor.
- isAnnotationPresent(Element, Class<? extends Annotation>) - Static method in class com.google.auto.common.MoreElements
-
Returns
true
iff the given element has anAnnotationMirror
whose annotation type has the same canonical name as that ofannotationClass
. - isNullable() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
- isType(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns true if the given
Element
instance is aTypeElement
. - isType(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns true if the raw type underlying the given
TypeMirror
represents a type that can be referenced by aClass
. - isTypeOf(Class<?>, TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns true if the raw type underlying the given
TypeMirror
represents the same raw type as the givenClass
and throws an IllegalArgumentException if theTypeMirror
does not represent a type that can be referenced by aClass
M
- MoreElements - Class in com.google.auto.common
-
Static utility methods pertaining to
Element
instances. - MoreTypes - Class in com.google.auto.common
-
Utilities related to
TypeMirror
instances. - mustBeFinal(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.AutoValueExtension
-
Denotes that the class generated by this Extension must be the final class in the inheritance hierarchy.
N
- nonObjectSuperclass(Types, Elements, DeclaredType) - Static method in class com.google.auto.common.MoreTypes
-
Returns the non-object superclass of the type with the proper type parameters.
O
- ofElement(Element) - Static method in enum com.google.auto.common.Visibility
-
Returns the visibility of the given
Element
. - Optionalish - Class in com.google.auto.value.processor
-
A wrapper for properties of Optional-like classes.
P
- packageName() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the package name of the classes to be generated.
- ParseException - Exception in com.google.auto.value.processor.escapevelocity
-
An exception that occurred while parsing a template.
- parseFrom(Reader) - Static method in class com.google.auto.value.processor.escapevelocity.Template
-
Parse a VTL template from the given
Reader
. - postProcess() - Method in class com.google.auto.common.BasicAnnotationProcessor
-
An optional hook for logic to be executed at the end of each round.
- PRIVATE - com.google.auto.common.Visibility
- 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.common.BasicAnnotationProcessor
- 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 theAutoService
interface value is correct Categorize the class by its service interface For eachAutoService
interface Create a file namedMETA-INF/services/<interface>
For eachAutoService
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(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
- processingEnvironment() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the processing environment of this generation cycle.
- properties() - Method in interface com.google.auto.value.extension.AutoValueExtension.Context
-
Returns the ordered collection of properties to be generated by AutoValue.
- PROTECTED - com.google.auto.common.Visibility
- 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. - PUBLIC - com.google.auto.common.Visibility
R
- referencedTypes(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns the set of types that are referenced by the given
TypeMirror
.
S
- SuperficialValidation - Class in com.google.auto.common
-
A utility class that traverses
Element
instances and ensures that all type information is present and resolvable. - SuperficialValidation() - Constructor for class com.google.auto.common.SuperficialValidation
T
- Template - Class in com.google.auto.value.processor.escapevelocity
-
A template expressed in EscapeVelocity, a subset of the Velocity Template Language (VTL) from Apache.
- toString() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- toString() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
-
Returns the name of the property as it should be used when declaring identifiers (fields and parameters).
V
- validateElement(Element) - Static method in class com.google.auto.common.SuperficialValidation
- validateElements(Iterable<? extends Element>) - Static method in class com.google.auto.common.SuperficialValidation
- value() - Method in annotation type com.google.auto.service.AutoService
-
Returns the interface implemented by this service provider.
- valueOf(String) - Static method in enum com.google.auto.common.Visibility
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.google.auto.common.Visibility
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Visibility - Enum in com.google.auto.common
-
Represents the visibility of a given
Element
:public
,protected
,private
or default/package-private.
All Classes All Packages