public class TypeSwitch<T> extends Object
java.lang.reflect.Type
hierarchy.Constructor and Description |
---|
TypeSwitch() |
Modifier and Type | Method and Description |
---|---|
T |
caseClass(Class classType) |
T |
caseGenericArrayType(GenericArrayType genericArrayType) |
T |
caseParameterizedType(ParameterizedType parameterizedType) |
T |
caseTypeVariable(TypeVariable typeVariable) |
T |
caseWildcardType(WildcardType wildcardType) |
T |
defaultCase(Type t) |
T |
doSwitch(Type type) |
public T caseWildcardType(WildcardType wildcardType)
public T caseTypeVariable(TypeVariable typeVariable)
public T caseGenericArrayType(GenericArrayType genericArrayType)
public T caseParameterizedType(ParameterizedType parameterizedType)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.