|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sca4j.introspection.TypeMapping
public class TypeMapping
A mapping from formal types to actual types.
| Constructor Summary | |
|---|---|
TypeMapping()
|
|
| Method Summary | |
|---|---|
void |
addMapping(java.lang.reflect.TypeVariable<?> typeVariable,
java.lang.reflect.Type type)
Add a mapping from a TypeVariable to an actual type |
java.lang.reflect.Type |
getActualType(java.lang.reflect.Type type)
Return the actual type of the supplied formal type. |
java.lang.Class<?> |
getRawType(java.lang.reflect.Type type)
Return the raw type of the supplied formal type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeMapping()
| Method Detail |
|---|
public void addMapping(java.lang.reflect.TypeVariable<?> typeVariable,
java.lang.reflect.Type type)
typeVariable - the formal type variabletype - the actual type it maps topublic java.lang.reflect.Type getActualType(java.lang.reflect.Type type)
type - the formal type parameter
public java.lang.Class<?> getRawType(java.lang.reflect.Type type)
type - the formal type parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||