- 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 AnnotationMirror instances.
- annotations() - Method in interface com.google.auto.common.BasicAnnotationProcessor.ProcessingStep
-
Deprecated.
The set of annotation types processed by this step.
- annotations() - Method in interface com.google.auto.common.BasicAnnotationProcessor.Step
-
The set of fully-qualified annotation type names processed by this step.
- AnnotationValues - Class in com.google.auto.common
-
A utility class for working with AnnotationValue instances.
- asArray(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns a ArrayType if the TypeMirror represents an 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.
- asIntersection(TypeMirror) - Static method in class com.google.auto.common.MoreTypes
-
Returns an IntersectionType if the TypeMirror represents an intersection-type
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.
- asStep(BasicAnnotationProcessor.ProcessingStep) - Static method in class com.google.auto.common.BasicAnnotationProcessor
-
- 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
-
- asTypeParameter(Element) - Static method in class com.google.auto.common.MoreElements
-
Returns the given Element instance as TypeParameterElement.
- 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.
- generatedAnnotation(Elements) - Static method in class com.google.auto.common.GeneratedAnnotations
-
- generatedAnnotation(Elements, SourceVersion) - Static method in class com.google.auto.common.GeneratedAnnotations
-
Returns the element corresponding to the @Generated annotation present at the target
SourceVersion.
- GeneratedAnnotations - Class in com.google.auto.common
-
Utility methods for writing @Generated annotations.
- 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 target SourceVersion.
- generatedAnnotationSpec(Elements, SourceVersion, Class<?>, String) - Static method in class com.google.auto.common.GeneratedAnnotationSpecs
-
Returns @Generated(value = "processorClass", comments = "comments") for the target
SourceVersion.
- GeneratedAnnotationSpecs - Class in com.google.auto.common
-
Utility methods for writing @Generated annotations using JavaPoet.
- getAllMethods(TypeElement, Types, Elements) - Static method in class com.google.auto.common.MoreElements
-
Returns the set of all methods from type, including methods that it inherits
from its ancestors.
- 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 annotationClass.
- getAnnotatedAnnotations(Element, TypeElement) - Static method in class com.google.auto.common.AnnotationMirrors
-
Returns all annotations that are present on the given Element which are themselves annotated with annotation.
- getAnnotatedAnnotations(Element, String) - Static method in class com.google.auto.common.AnnotationMirrors
-
Returns all annotations that are present on the given Element which are themselves annotated with an annotation whose type's canonical name is
annotationName.
- 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(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as an AnnotationMirror.
- 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, TypeElement) - Static method in class com.google.auto.common.MoreElements
-
Returns an AnnotationMirror for the annotation of type annotation on element, or Optional.absent() if no such annotation exists.
- getAnnotationMirror(Element, String) - Static method in class com.google.auto.common.MoreElements
-
Returns an AnnotationMirror for the annotation whose type's canonical name is on element, or Optional.absent() if no such annotation exists.
- getAnnotationMirrors(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a list of annotations.
- getAnnotationType() - Method in class com.google.auto.common.SimpleAnnotationMirror
-
- 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.
- getAnnotationValues(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a list of AnnotationValues.
- 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.
- getBoolean(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a boolean.
- getBooleans(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a list of booleans.
- getByte(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a byte.
- getBytes(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a list of bytes.
- getChar(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a char.
- getChars(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a list of characters.
- getDouble(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a double.
- getDoubles(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a list of doubles.
- getElementValues() - Method in class com.google.auto.common.SimpleAnnotationMirror
-
- getEnum(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a VariableElement.
- getEnums(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a list of enums.
- getFloat(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a float.
- getFloats(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a list of floats.
- getInt(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as an int.
- getInts(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a list of integers.
- getLocalAndInheritedMethods(TypeElement, Elements) - Static method in class com.google.auto.common.MoreElements
-
- getLocalAndInheritedMethods(TypeElement, Types, Elements) - Static method in class com.google.auto.common.MoreElements
-
Returns the set of all non-private, non-static methods from type, including methods
that it inherits from its ancestors.
- getLong(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a long.
- getLongs(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a list of longs.
- 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.
- getShort(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a short.
- getShorts(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a list of shorts.
- getString(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a string.
- getStrings(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a list of strings.
- getSupportedAnnotationTypes() - Method in class com.google.auto.common.BasicAnnotationProcessor
-
Returns the set of supported annotation types as collected from registered
processing steps.
- getTypeMirror(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a class.
- getTypeMirrors(AnnotationValue) - Static method in class com.google.auto.common.AnnotationValues
-
Returns the value as a list of classes.
- getValue() - Method in class com.google.auto.common.SimpleTypeAnnotationValue
-