|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jersey.api.client.GenericType<T>
T - the generic type parameter.public class GenericType<T>
Represents a generic type T.
| Constructor Summary | |
|---|---|
protected |
GenericType()
Constructs a new generic type, deriving the generic type and class from type parameter. |
|
GenericType(java.lang.reflect.Type genericType)
Constructs a new generic type, supplying the generic type information and derving the class. |
| Method Summary | |
|---|---|
java.lang.Class<T> |
getRawClass()
Gets underlying raw class instance derived from the type. |
java.lang.reflect.Type |
getType()
Gets underlying Type instance derived from the
type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected GenericType()
public GenericType(java.lang.reflect.Type genericType)
genericType - the generic type.
java.lang.IllegalArgumentException - if genericType
is null or is neither an instance of Class or ParameterizedType whose raw
type is not an instance of Class.| Method Detail |
|---|
public final java.lang.reflect.Type getType()
Type instance derived from the
type.
public final java.lang.Class<T> getRawClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||