|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.common.metadata.util.TypeResolver
public class TypeResolver
| Constructor Summary | |
|---|---|
TypeResolver()
|
|
| Method Summary | |
|---|---|
static Class<?> |
erase(Type type)
Performs type erasure for given type. |
static ParameterizedType |
getGenericSuperclass(Class<?> type,
Class<?> declaredType)
Answers immediate parameterized super type that is causing the type to be instance of given declaredType. |
static Class<?> |
getSuperclass(Class<?> type,
Class<?> declaredType)
Answers immediate super type that is causing to be the type sub-type of given declaredType. |
static Class<?>[] |
getSuperInterfaces(Class<?> type)
Answers all super interfaces that the class implements, including transitively inherited ones. |
static Map<TypeVariable<?>,Type> |
resolveVariables(Type type)
Resolves type variables in given class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeResolver()
| Method Detail |
|---|
public static Class<?>[] getSuperInterfaces(Class<?> type)
type -
public static ParameterizedType getGenericSuperclass(Class<?> type,
Class<?> declaredType)
type - declaredType -
public static Class<?> getSuperclass(Class<?> type,
Class<?> declaredType)
type - declaredType -
public static Map<TypeVariable<?>,Type> resolveVariables(Type type)
type -
public static Class<?> erase(Type type)
type -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||