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
@AutoValueclass. - accept(AnnotationValueVisitor<R, P>, P) - Method in class com.google.auto.common.SimpleTypeAnnotationValue
- AnnotationMirrors - Class in com.google.auto.common
-
A utility class for working with
AnnotationMirrorinstances. - 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
AnnotationValueinstances. - 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
ArrayTypeif theTypeMirrorrepresents a primitive array or throws anIllegalArgumentException. - asDeclared(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a
DeclaredTypeif theTypeMirrorrepresents 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 aTypesinstance with the notable difference that it will throwIllegalArgumentExceptioninstead of returning null if theTypeMirrorcan not be converted to anElement. - asError(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a
ExecutableTypeif theTypeMirrorrepresents 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
Elementinstance asExecutableElement. - asExecutable(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a
ExecutableTypeif theTypeMirrorrepresents 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
VariableElementparameter 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
NoTypeif theTypeMirrorrepresents an non-type such as void, or package, etc. - asNullType(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a
NullTypeif theTypeMirrorrepresents the null type or throws anIllegalArgumentException. - asPackage(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns the given
Elementinstance asPackageElement. - asPrimitiveType(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a
PrimitiveTypeif theTypeMirrorrepresents a primitive type or throws anIllegalArgumentException. - asType(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns the given
Elementinstance 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
TypeVariableif theTypeMirrorrepresents a type variable or throws anIllegalArgumentException. - asVariable(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns the given
Elementinstance asVariableElement. - asWildcard(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a
WildcardTypeif theTypeMirrorrepresents 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
- AutoOneOf - Annotation Type in com.google.auto.value
-
Specifies that the annotated class is a one-of class, also known as a tagged union.
- AutoOneOfProcessor - Class in com.google.auto.value.processor
-
Javac annotation processor (compiler plugin) for one-of types; user code never references this class.
- AutoOneOfProcessor() - Constructor for class com.google.auto.value.processor.AutoOneOfProcessor
- 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
AutoServiceannotations 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.
- 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.Builderis applied to is nested inside an@AutoValueclass. - 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
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
- 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
AutoServiceAPI. - 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
AutoValueAPI. - 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.common.SimpleAnnotationMirror
- equivalence() - Static method in class com.google.auto.common.AnnotationMirrors
-
Returns an
EquivalenceforAnnotationMirroras 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
EquivalenceforAnnotationValueas annotation values may containAnnotationMirrorinstances 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.
- exclude() - Method in annotation type com.google.auto.value.AutoValue.CopyAnnotations
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
classNameto extendclassToExtend, ornullif 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
- generatedAnnotation(Elements) - Static method in class com.google.auto.common.GeneratedAnnotations
-
Deprecated.
- generatedAnnotation(Elements, SourceVersion) - Static method in class com.google.auto.common.GeneratedAnnotations
-
Returns the element corresponding to the
@Generatedannotation present at the targetSourceVersion. - GeneratedAnnotations - Class in com.google.auto.common
-
Utility methods for writing
@Generatedannotations. - generatedAnnotationSpec(Elements, Class<?>) - Static method in class com.google.auto.common.GeneratedAnnotationSpecs
- generatedAnnotationSpec(Elements, Class<?>, String) - Static method in class com.google.auto.common.GeneratedAnnotationSpecs
- generatedAnnotationSpec(Elements, SourceVersion, Class<?>) - Static method in class com.google.auto.common.GeneratedAnnotationSpecs
-
Returns
@Generated("processorClass"for the targetSourceVersion. - generatedAnnotationSpec(Elements, SourceVersion, Class<?>, String) - Static method in class com.google.auto.common.GeneratedAnnotationSpecs
-
Returns
@Generated(value = "processorClass", comments = "comments"for the targetSourceVersion. - GeneratedAnnotationSpecs - Class in com.google.auto.common
-
Utility methods for writing
@Generatedannotations using JavaPoet. - getAccess() - Method in class com.google.auto.value.processor.SimpleMethod
- getAnnotatedAnnotations(Element, Class<? extends Annotation>) - Static method in class com.google.auto.common.AnnotationMirrors
-
Returns all annotations that are present on the given
Elementwhich are themselves annotated withannotationType. - getAnnotationElementAndValue(AnnotationMirror, String) - Static method in class com.google.auto.common.AnnotationMirrors
-
Returns a
ExecutableElementand its associatedAnnotationValueif 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
AnnotationMirrorfor the annotation of typeannotationClassonelement, orOptional.absent()if no such annotation exists. - getAnnotationType() - Method in class com.google.auto.common.SimpleAnnotationMirror
- getAnnotationValue(AnnotationMirror, String) - Static method in class com.google.auto.common.AnnotationMirrors
-
Returns an
AnnotationValuefor 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 ofAnnotationValueindexed 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
- getElementValues() - Method in class com.google.auto.common.SimpleAnnotationMirror
- 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.
- getKind() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- getKind() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Parameter
- 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.SimpleMethod
- 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 anElementsinstance. - 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
- getSupportedSourceVersion() - Method in class com.google.auto.service.processor.AutoServiceProcessor
- getSupportedSourceVersion() - Method in class com.google.auto.value.extension.memoized.MemoizedValidator
- getSupportedSourceVersion() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor
- getSupportedSourceVersion() - Method in class com.google.auto.value.processor.AutoValueBuilderProcessor
- getType() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- getType() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Parameter
- getTypeMirror() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- getValue() - Method in class com.google.auto.common.SimpleTypeAnnotationValue
H
- hashCode() - Method in class com.google.auto.common.SimpleAnnotationMirror
- hasModifiers(Set<Modifier>) - Static method in class com.google.auto.common.MoreElements
-
Returns a
Predicatethat can be used to filter elements byModifier. - hasModifiers(Modifier...) - Static method in class com.google.auto.common.MoreElements
-
Returns a
Predicatethat can be used to filter elements byModifier.
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.
- initSteps() - Method in class com.google.auto.value.extension.memoized.MemoizedValidator
- isAnnotationPresent(Element, Class<? extends Annotation>) - Static method in class com.google.auto.common.MoreElements
-
Returns
trueiff the given element has anAnnotationMirrorwhose annotation type has the same canonical name as that ofannotationClass. - isArrayOfClassWithBounds() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
- isType(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns true if the given
Elementinstance is aTypeElement. - isType(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns true if the raw type underlying the given
TypeMirrorrepresents 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
TypeMirrorrepresents the same raw type as the givenClassand throws an IllegalArgumentException if theTypeMirrordoes not represent a type that can be referenced by aClass
M
- Memoized - Annotation Type in com.google.auto.value.extension.memoized
-
Annotates methods in
@AutoValueclasses for which the generated subclass will memoize the returned value. - MemoizedValidator - Class in com.google.auto.value.extension.memoized
- MemoizedValidator() - Constructor for class com.google.auto.value.extension.memoized.MemoizedValidator
- MemoizeExtension - Class in com.google.auto.value.extension.memoized
-
An extension that implements the
Memoizedcontract. - MemoizeExtension() - Constructor for class com.google.auto.value.extension.memoized.MemoizeExtension
- MoreElements - Class in com.google.auto.common
-
Static utility methods pertaining to
Elementinstances. - MoreTypes - Class in com.google.auto.common
-
Utilities related to
TypeMirrorinstances. - 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
- of(TypeElement) - Static method in class com.google.auto.common.SimpleAnnotationMirror
-
An object representing an annotation instance.
- of(TypeElement, Map<String, ? extends AnnotationValue>) - Static method in class com.google.auto.common.SimpleAnnotationMirror
-
An object representing an annotation instance.
- of(TypeMirror) - Static method in class com.google.auto.common.SimpleTypeAnnotationValue
-
An object representing an annotation value instance.
- ofElement(Element) - Static method in enum com.google.auto.common.Visibility
-
Returns the visibility of the given
Element. - openResource(String) - Method in interface com.google.auto.value.processor.escapevelocity.Template.ResourceOpener
-
Returns a Reader that will be used to read the given resource, then closed.
- 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
-
Parses a VTL template from the given
Reader. - parseFrom(String, Template.ResourceOpener) - Static method in class com.google.auto.value.processor.escapevelocity.Template
-
Parse a VTL template of the given name using the given
ResourceOpener. - postProcess() - Method in class com.google.auto.common.BasicAnnotationProcessor
-
Deprecated.
- postRound(RoundEnvironment) - 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.service.processor.AutoServiceProcessor
-
For each class annotated with
AutoServiceVerify theAutoServiceinterface value is correct Categorize the class by its service interface For eachAutoServiceinterface Create a file namedMETA-INF/services/<interface>For eachAutoServiceannotated 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
- 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
- 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
- SimpleAnnotationMirror - Class in com.google.auto.common
-
A simple implementation of the
AnnotationMirrorinterface. - SimpleMethod - Class in com.google.auto.value.processor
-
A method on an
@AutoValueorAutoOneOfclass that has no specific attached information, such as atoBuilder()method, or abuild()method, where only the name and access type is needed in context. - SimpleTypeAnnotationValue - Class in com.google.auto.common
-
A simple implementation of the
AnnotationValueinterface for a class literal, e.g. - SuperficialValidation - Class in com.google.auto.common
-
A utility class that traverses
Elementinstances 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.
- Template.ResourceOpener - Interface in com.google.auto.value.processor.escapevelocity
-
Used to resolve references to resources in the template, through
#parsedirectives. - toString() - Method in class com.google.auto.common.SimpleAnnotationMirror
- toString() - Method in class com.google.auto.common.SimpleTypeAnnotationValue
- toString() - Method in class com.google.auto.value.processor.AutoAnnotationProcessor.Member
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 interfaces implemented by this service provider.
- value() - Method in annotation type com.google.auto.value.AutoOneOf
-
Specifies an enum that has one entry per variant in the one-of.
- 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,privateor default/package-private.
All Classes All Packages