Skip navigation links
A B C D E G I N R S T U V 

A

AbstractTypes - Class in net.florianschoppmann.java.type
Abstract skeletal implementation of Types.
AbstractTypes() - Constructor for class net.florianschoppmann.java.type.AbstractTypes
 
AnnotatedConstruct - Interface in net.florianschoppmann.java.type
Represents a construct that can be annotated, equivalent to javax.lang.model.AnnotatedConstruct in JDK 8.
asElement(TypeMirror) - Method in class net.florianschoppmann.java.type.AbstractTypes
Returns the element corresponding to a type.
asMemberOf(DeclaredType, Element) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 

B

boxedClass(PrimitiveType) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 

C

capture(TypeMirror) - Method in class net.florianschoppmann.java.type.AbstractTypes
Returns the capture conversion of the given type, as specified by JLS §5.1.10.
capturedTypeArgument(TypeVariable) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
capturedTypeArgument(TypeVariable) - Method in class net.florianschoppmann.java.type.AbstractTypes
Returns the captured wildcard type argument of the given type variable, or null if the given type variable is not the result of a capture conversion.
contains(TypeMirror, TypeMirror) - Method in class net.florianschoppmann.java.type.AbstractTypes
Returns whether the first type argument contains the second type argument, as specified by JLS §4.5.1.
createTypeVariable(TypeParameterElement, WildcardType) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
createTypeVariable(TypeParameterElement, WildcardType) - Method in class net.florianschoppmann.java.type.AbstractTypes
Creates a new unfinished type variable for the given formal parameter.

D

directSupertypes(TypeMirror) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 

E

erasure(TypeMirror) - Method in class net.florianschoppmann.java.type.AbstractTypes
Returns the erasure of a type, as specified by JLS §4.6.
ExtendedTypeKindVisitor7<R,P> - Class in net.florianschoppmann.java.type
A visitor of types that supports IntersectionType, but otherwise behaves as TypeKindVisitor7.
ExtendedTypeKindVisitor7() - Constructor for class net.florianschoppmann.java.type.ExtendedTypeKindVisitor7
Constructor for concrete subclasses to call; uses null for the default value.
ExtendedTypeKindVisitor7(R) - Constructor for class net.florianschoppmann.java.type.ExtendedTypeKindVisitor7
Constructor for concrete subclasses to call; uses the argument for the default value.

G

getAnnotation(Class<A>) - Method in interface net.florianschoppmann.java.type.AnnotatedConstruct
Returns this construct's annotation of the specified type if such an annotation is present, else null.
getAnnotationMirrors() - Method in interface net.florianschoppmann.java.type.AnnotatedConstruct
Returns the annotations that are directly present on this construct.
getAnnotationsByType(Class<A>) - Method in interface net.florianschoppmann.java.type.AnnotatedConstruct
Returns annotations that are associated with this construct.
getArrayType(TypeMirror) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
getBounds() - Method in interface net.florianschoppmann.java.type.IntersectionType
Return the bounds comprising this intersection type.
getDeclaredType(DeclaredType, TypeElement, TypeMirror...) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
getDeclaredType(TypeElement, TypeMirror...) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
getInstance() - Static method in class net.florianschoppmann.java.reflect.ReflectionTypes
Returns the singleton instance of this class.
getIntersectionType(TypeMirror...) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
getIntersectionType(TypeMirror...) - Method in class net.florianschoppmann.java.type.AbstractTypes
Returns a new intersection type.
getNoType(TypeKind) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
getNullType() - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
getPrimitiveType(TypeKind) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
getTypeVariable(TypeParameterElement, TypeMirror, TypeMirror, WildcardType) - Method in class net.florianschoppmann.java.type.AbstractTypes
Returns a new type variable that corresponds to the given formal type parameter and that has the given actual upper and lower bounds.
getWildcardType(TypeMirror, TypeMirror) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 

I

IntersectionType - Interface in net.florianschoppmann.java.type
Represents an intersection type, equivalent to javax.lang.model.type.IntersectionType in JDK 8.
isAssignable(TypeMirror, TypeMirror) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
isIntersectionType() - Method in interface net.florianschoppmann.java.type.IntersectionType
Returns whether this type mirror represents an intersection type.
isSameType(TypeMirror, TypeMirror) - Method in class net.florianschoppmann.java.type.AbstractTypes
Returns whether the two given type arguments represent the same type.
isSubsignature(ExecutableType, ExecutableType) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
isSubtype(TypeMirror, TypeMirror) - Method in class net.florianschoppmann.java.type.AbstractTypes
Returns whether the first type is a subtype of the second type, as specified by JLS §4.10.

N

net.florianschoppmann.java.reflect - package net.florianschoppmann.java.reflect
Provides a concrete implementation of AbstractTypes backed by the Java Reflection API.
net.florianschoppmann.java.type - package net.florianschoppmann.java.type
Provides an abstract skeletal implementation of class Types, together with classes and interfaces that ensure source compatibility with both Java 7 and 8.
NonNullByDefault - Annotation Type in net.florianschoppmann.java.type
Annotation to define that all contained entities for which a null annotation is otherwise lacking should be considered as Nonnull.

R

ReflectionTypes - Class in net.florianschoppmann.java.reflect
Implementation of Types backed by the Java Reflection API.
requireValidElement(Element) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
requireValidElement(Element) - Method in class net.florianschoppmann.java.type.AbstractTypes
Verifies that the given Element is valid for use with this class.
requireValidType(TypeMirror) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
requireValidType(TypeMirror) - Method in class net.florianschoppmann.java.type.AbstractTypes
Verifies that the given TypeMirror is valid for use with this class, or that it is null.
requireValidTypes(TypeMirror[]) - Method in class net.florianschoppmann.java.type.AbstractTypes
Verifies that the given array is non-null and contains valid types that are not null.
resolveActualTypeArguments(TypeElement, TypeMirror) - Method in class net.florianschoppmann.java.type.AbstractTypes
Returns the actual type arguments of a type declaration given a subtype (typically with its own actual type arguments).

S

setTypeVariableBounds(TypeVariable, TypeMirror, TypeMirror) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 
setTypeVariableBounds(TypeVariable, TypeMirror, TypeMirror) - Method in class net.florianschoppmann.java.type.AbstractTypes
Sets the bounds of a type variable previously returned by createTypeVariable(TypeParameterElement, WildcardType).
substitute(TypeMirror, Map<TypeParameterElement, ? extends TypeMirror>) - Method in class net.florianschoppmann.java.type.AbstractTypes
Replaces formal type parameters in the given type.

T

toString(TypeMirror) - Method in class net.florianschoppmann.java.type.AbstractTypes
Returns the canonical string representation of the given type.
typeElement(Class<?>) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
Returns a type element corresponding to the given Class object.
typeMirror(Type) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
Returns a type mirror corresponding to the given Java reflection type.
typeMirror(Type) - Method in class net.florianschoppmann.java.type.AbstractTypes
Returns a type mirror corresponding to the given Java reflection type.

U

unboxedType(TypeMirror) - Method in class net.florianschoppmann.java.reflect.ReflectionTypes
 

V

visitIntersection(IntersectionType, P) - Method in class net.florianschoppmann.java.type.ExtendedTypeKindVisitor7
Visits an intersection type by calling SimpleTypeVisitor6.defaultAction(TypeMirror, Object).
visitOther(TypeMirror, P) - Method in class net.florianschoppmann.java.type.ExtendedTypeKindVisitor7
Visits an unknown kind of type.
visitUnknown(TypeMirror, P) - Method in class net.florianschoppmann.java.type.ExtendedTypeKindVisitor7
Visits an unknown kind of type or an IntersectionType, which did not exist in the TypeMirror hierarchy of Java 7.
A B C D E G I N R S T U V 
Skip navigation links

Copyright © 2014–2015. All rights reserved.