Skip navigation links
A C E G H I P T U W 

A

addWildcardParameters(Class<?>) - Static method in class com.googlecode.gentyref.GenericTypeReflector
Returns a type representing the class, with all type parameters the unbound wildcard ("?").
arrayOf(Type) - Static method in class com.googlecode.gentyref.TypeFactory
Creates a array type.

C

capture(Type) - Static method in class com.googlecode.gentyref.GenericTypeReflector
Applies capture conversion to the given type.
capture(ParameterizedType) - Static method in class com.googlecode.gentyref.GenericTypeReflector
Applies capture conversion to the given type.
CaptureType - Interface in com.googlecode.gentyref
CaptureType represents a wildcard that has gone through capture conversion.
com.googlecode.gentyref - package com.googlecode.gentyref
 

E

equals(Object) - Method in class com.googlecode.gentyref.TypeToken
 
erase(Type) - Static method in class com.googlecode.gentyref.GenericTypeReflector
Returns the erasure of the given type.

G

GenericTypeReflector - Class in com.googlecode.gentyref
Utility class for doing reflection on types.
GenericTypeReflector() - Constructor for class com.googlecode.gentyref.GenericTypeReflector
 
get(Class<T>) - Static method in class com.googlecode.gentyref.TypeToken
Gets type token for the given Class instance.
get(Type) - Static method in class com.googlecode.gentyref.TypeToken
Gets type token for the given Type instance.
getArgument() - Method in exception com.googlecode.gentyref.TypeArgumentNotInBoundException
Returns the supplied argument that is not within the bound.
getArrayComponentType(Type) - Static method in class com.googlecode.gentyref.GenericTypeReflector
If type is an array type, returns the type of the component of the array.
getBound() - Method in exception com.googlecode.gentyref.TypeArgumentNotInBoundException
Returns the bound that was not satisfied.
getExactFieldType(Field, Type) - Static method in class com.googlecode.gentyref.GenericTypeReflector
Returns the exact type of the given field in the given type.
getExactParameterTypes(Method, Type) - Static method in class com.googlecode.gentyref.GenericTypeReflector
Returns the exact parameter types of the given method in the given type.
getExactReturnType(Method, Type) - Static method in class com.googlecode.gentyref.GenericTypeReflector
Returns the exact return type of the given method in the given type.
getExactSuperType(Type, Class<?>) - Static method in class com.googlecode.gentyref.GenericTypeReflector
Finds the most specific supertype of type whose erasure is searchClass.
getLowerBounds() - Method in interface com.googlecode.gentyref.CaptureType
Returns an array of Type objects representing the lower bound(s) of this type variable.
getParameter() - Method in exception com.googlecode.gentyref.TypeArgumentNotInBoundException
Returns the type parameter.
getType() - Method in class com.googlecode.gentyref.TypeToken
 
getTypeName(Type) - Static method in class com.googlecode.gentyref.GenericTypeReflector
Returns the display name of a Type.
getTypeParameter(Type, TypeVariable<? extends Class<?>>) - Static method in class com.googlecode.gentyref.GenericTypeReflector
Gets the type parameter for a given type that is the value for a given type variable.
getUpperBoundClassAndInterfaces(Type) - Static method in class com.googlecode.gentyref.GenericTypeReflector
Returns list of classes and interfaces that are supertypes of the given type.
getUpperBounds() - Method in interface com.googlecode.gentyref.CaptureType
Returns an array of Type objects representing the upper bound(s) of this capture.

H

hashCode() - Method in class com.googlecode.gentyref.TypeToken
 

I

innerClass(Type, Class<?>) - Static method in class com.googlecode.gentyref.TypeFactory
Creates a type of clazz nested in owner.
isSuperType(Type, Type) - Static method in class com.googlecode.gentyref.GenericTypeReflector
Checks if the capture of subType is a subtype of superType

P

parameterizedClass(Class<?>, Type...) - Static method in class com.googlecode.gentyref.TypeFactory
Creates a type of class clazz with arguments as type arguments.
parameterizedInnerClass(Type, Class<?>, Type...) - Static method in class com.googlecode.gentyref.TypeFactory
Creates a type of clazz with arguments as type arguments, nested in owner.

T

TypeArgumentNotInBoundException - Exception in com.googlecode.gentyref
Thrown to indicate that a type argument for a parameterized type is not within the bound declared on the type parameter.
TypeArgumentNotInBoundException(Type, TypeVariable<?>, Type) - Constructor for exception com.googlecode.gentyref.TypeArgumentNotInBoundException
 
TypeFactory - Class in com.googlecode.gentyref
Utility class for creating instances of Type.
TypeFactory() - Constructor for class com.googlecode.gentyref.TypeFactory
 
TypeToken<T> - Class in com.googlecode.gentyref
Wrapper around Type.

U

unboundWildcard() - Static method in class com.googlecode.gentyref.TypeFactory
Returns the wildcard type without bounds.

W

wildcardExtends(Type) - Static method in class com.googlecode.gentyref.TypeFactory
Creates a wildcard type with an upper bound.
wildcardSuper(Type) - Static method in class com.googlecode.gentyref.TypeFactory
Creates a wildcard type with a lower bound.
A C E G H I P T U W 
Skip navigation links

Copyright © 2008–2017. All rights reserved.