A C E G I M O R S V 

A

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.
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.
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(Types, TypeMirror) - Static method in class com.google.auto.common.MoreTypes
 
asTypeElements(Types, 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.

C

com.google.auto.common - package com.google.auto.common
 

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.
equivalence() - Static method in class com.google.auto.common.MoreTypes
 

G

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.
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.

I

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.
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

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.

O

ofElement(Element) - Static method in enum com.google.auto.common.Visibility
Returns the visibility of the given Element.

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
 

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 C E G I M O R S V 

Copyright © 2014 Google, Inc.. All rights reserved.