abstract class TypeVisitor<T,P>
extends java.lang.Object
Constructor and Description |
---|
TypeVisitor() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
onClass(java.lang.Class c,
P param) |
protected abstract T |
onGenericArray(java.lang.reflect.GenericArrayType g,
P param) |
protected abstract T |
onParameterizdType(java.lang.reflect.ParameterizedType p,
P param) |
protected abstract T |
onVariable(java.lang.reflect.TypeVariable v,
P param) |
protected abstract T |
onWildcard(java.lang.reflect.WildcardType w,
P param) |
T |
visit(java.lang.reflect.Type t,
P param) |