Package | Description |
---|---|
org.glassfish.jersey.internal.util |
Common Jersey internal miscellaneous utility classes.
|
org.glassfish.jersey.internal.util.collection |
Common set of Jersey collection classes.
|
Modifier and Type | Method and Description |
---|---|
static ClassTypePair |
ReflectionHelper.resolveGenericType(java.lang.Class concreteClass,
java.lang.Class declaringClass,
java.lang.Class rawResolvedType,
java.lang.reflect.Type genericResolvedType)
Resolve generic type parameter(s) of a raw class and it's generic type
based on the class that declares the generic type parameter(s) to be resolved
and a concrete implementation of the declaring class.
|
static ClassTypePair |
ReflectionHelper.resolveTypeVariable(java.lang.Class<?> c,
java.lang.Class<?> dc,
java.lang.reflect.TypeVariable tv)
Given a type variable resolve the Java class of that variable.
|
private static ClassTypePair |
ReflectionHelper.resolveTypeVariable(java.lang.Class<?> c,
java.lang.Class<?> dc,
java.lang.reflect.TypeVariable tv,
java.util.Map<java.lang.reflect.TypeVariable,java.lang.reflect.Type> map) |
private static ClassTypePair |
ReflectionHelper.resolveTypeVariable(java.lang.reflect.ParameterizedType pt,
java.lang.Class<?> c,
java.lang.Class<?> dc,
java.lang.reflect.TypeVariable tv,
java.util.Map<java.lang.reflect.TypeVariable,java.lang.reflect.Type> map) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ClassTypePair> |
ReflectionHelper.getTypeArgumentAndClass(java.lang.reflect.Type type)
Get the list of class-type pairs that represent the type arguments of a
parameterized input type. |
Modifier and Type | Method and Description |
---|---|
static ClassTypePair |
ClassTypePair.of(java.lang.Class<?> rawClass)
Create new type-class pair for a non-generic class.
|
static ClassTypePair |
ClassTypePair.of(java.lang.Class<?> rawClass,
java.lang.reflect.Type type)
Create new type-class pair.
|