TypeMirror instances.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private abstract static class | |
| private static class | MoreTypes.CastingUncheckedVisitor
Visitor that tells whether a type is erased, in the sense of |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ArrayType | asArray(TypeMirror maybeArrayType)
Returns a |
| public static DeclaredType | asDeclared(TypeMirror maybeDeclaredType)
Returns a |
| public static Element | asElement(TypeMirror typeMirror)
An alternate implementation of |
| public static ErrorType | asError(TypeMirror maybeErrorType)
Returns a |
| public static ExecutableType | asExecutable(TypeMirror maybeExecutableType)
Returns a |
| public static IntersectionType | asIntersection(TypeMirror maybeIntersectionType)
Returns an |
| public static TypeMirror | asMemberOf(Types types, DeclaredType container, VariableElement variable)
Resolves a |
| public static NoType | asNoType(TypeMirror maybeNoType)
Returns a |
| public static NullType | asNullType(TypeMirror maybeNullType)
Returns a |
| public static PrimitiveType | asPrimitiveType(TypeMirror maybePrimitiveType)
Returns a |
| public static TypeElement | |
| public static ImmutableSet | |
| public static TypeVariable | asTypeVariable(TypeMirror maybeTypeVariable)
Returns a |
| public static WildcardType | asWildcard(TypeMirror maybeWildcardType)
Returns a |
| private static @Nullable TypeMirror | enclosingType(DeclaredType t)
Returns the type of the innermost enclosing instance, or null if there is none. |
| private static boolean | |
| private static boolean | equalLists(List<? extends TypeMirror> a, List<? extends TypeMirror> b, Set<MoreTypes.
|
| public static Equivalence | |
| private static int | |
| private static int | |
| public static boolean | isConversionFromObjectUnchecked(TypeMirror type)
Returns true if casting |
| private static boolean | |
| public static boolean | isType(TypeMirror type)
Returns true if the raw type underlying the given |
| public static boolean | isTypeOf(final Class<?> clazz, TypeMirror type)
Returns true if the raw type underlying the given |
| public static Optional | nonObjectSuperclass(Types types, Elements elements, DeclaredType type)
Returns the superclass of |
| public static ImmutableSet | referencedTypes(TypeMirror type)
Returns the set of types that are referenced by the given |