|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.inject.TypeLiteral<T>
T
- the type, including all actual type parameterspublic abstract class TypeLiteral<T>
Supports inline instantiation of objects that represent parameterized types with actual type parameters.
Constructor Summary | |
---|---|
protected |
TypeLiteral()
|
Method Summary | |
---|---|
java.lang.Class<T> |
getRawType()
Get the raw type represented by the type literal |
java.lang.reflect.Type |
getType()
Get the actual type represented by type literal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TypeLiteral()
Method Detail |
---|
public final java.lang.reflect.Type getType()
public final java.lang.Class<T> getRawType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |