Skip navigation links
A B C E G H I M N O P R S T V 

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.
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.
applicable(AutoValueExtension.Context) - Method in class com.google.auto.value.extension.memoized.MemoizeExtension
 
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.
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.
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.
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(TypeMirror) - 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
 
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.
AutoValue.CopyAnnotations - Annotation Type in com.google.auto.value
Specifies that AutoValue should copy any annotations from the annotated element to the generated class.
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
An AutoValueExtension allows for extra functionality to be created during the generation of an AutoValue class.
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.
AutoValueProcessor.SimpleMethod - Class in com.google.auto.value.processor
A basic method on an @AutoValue class with no specific attached information, such as a toBuilder() method, or a build() method, where only the name and access type is needed in context.

B

BasicAnnotationProcessor - Class in com.google.auto.common
An abstract Processor implementation that defers processing of Elements to later rounds if they cannot be processed.
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

com.google.auto.common - package com.google.auto.common
 
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.extension.memoized - package com.google.auto.value.extension.memoized
 
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.

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 for AnnotationMirror as some implementations delegate equality tests to Object.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 for AnnotationValue as annotation values may contain AnnotationMirror instances some of whose implementations delegate equality tests to Object.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.

G

generateClass(AutoValueExtension.Context, String, String, boolean) - Method in class com.google.auto.value.extension.AutoValueExtension
Returns the generated source code of the class named className to extend classToExtend, or null if this extension does not generate a class in the hierarchy.
generateClass(AutoValueExtension.Context, String, String, boolean) - Method in class com.google.auto.value.extension.memoized.MemoizeExtension
 
getAccess() - Method in class com.google.auto.value.processor.AutoValueProcessor.Property
 
getAccess() - Method in class com.google.auto.value.processor.AutoValueProcessor.SimpleMethod
 
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.
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.
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.
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
Deprecated.
The method MoreElements.getLocalAndInheritedMethods(TypeElement, Types, Elements) has better consistency between Java compilers.
getLocalAndInheritedMethods(TypeElement, Types, 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.
getName() - Method in class com.google.auto.value.processor.AutoValueProcessor.SimpleMethod
 
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 an Elements 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.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.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(Modifier...) - Static method in class com.google.auto.common.MoreElements
Returns a Predicate that can be used to filter elements by Modifier.
hasModifiers(Set<Modifier>) - Static method in class com.google.auto.common.MoreElements
Returns a Predicate that can be used to filter elements by Modifier.

I

init(ProcessingEnvironment) - Method in class com.google.auto.common.BasicAnnotationProcessor
 
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 an AnnotationMirror whose annotation type has the same canonical name as that of annotationClass.
isArrayOfClassWithBounds() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
 
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 a TypeElement.
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 a Class.
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 given Class and throws an IllegalArgumentException if the TypeMirror does not represent a type that can be referenced by a Class

M

Memoized - Annotation Type in com.google.auto.value.extension.memoized
Annotates methods in @AutoValue classes for which the generated subclass will memoize the returned value.
MemoizeExtension - Class in com.google.auto.value.extension.memoized
An extension that implements the Memoized contract.
MemoizeExtension() - Constructor for class com.google.auto.value.extension.memoized.MemoizeExtension
 
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
postRound(RoundEnvironment) - Method in class com.google.auto.common.BasicAnnotationProcessor
An optional hook for logic to be executed at the end of each round.
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.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(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.

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
 
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.
A B C E G H I M N O P R S T V 
Skip navigation links

Copyright © 2023. All rights reserved.