public class ToStringTypeProcessor extends AbstractTypeProcessor
| Modifier and Type | Class and Description |
|---|---|
static class |
ToStringTypeProcessor.TypeVariableOutputVariant |
| Constructor and Description |
|---|
ToStringTypeProcessor(ToStringTypeProcessor.TypeVariableOutputVariant typeVariableOutputVariant,
boolean includeArgs,
boolean includeEnclosingClass,
boolean usePrefixes) |
| Modifier and Type | Method and Description |
|---|---|
void |
endActualTypeArgument(java.lang.reflect.Type actualTypeArgument) |
void |
endActualTypeArguments(java.lang.reflect.Type[] actualTypeArguments) |
void |
endClass(java.lang.Class<?> classType) |
void |
endComponentType(java.lang.reflect.Type componentType) |
void |
endEnclosingType(java.lang.reflect.Type enclosingType) |
void |
endGenericArrayType(java.lang.reflect.GenericArrayType genericArrayType) |
void |
endGenericComponentType(java.lang.reflect.Type genericComponentType) |
void |
endParameterizedType(java.lang.reflect.ParameterizedType parameterizedType) |
void |
endRawType(java.lang.reflect.Type rawType) |
void |
endType(java.lang.reflect.Type type) |
void |
endTypes(java.util.List<java.lang.reflect.Type> types) |
void |
endTypeVariable(java.lang.reflect.TypeVariable<?> typeVariable) |
void |
endTypeVariableBoundary(java.lang.reflect.Type typeVariableBoundary) |
void |
endTypeVariableBounds(java.lang.reflect.Type[] typeVariableBounds) |
void |
endWildcardType(java.lang.reflect.WildcardType wildcardType) |
void |
endWildcardTypeLowerBoundary(java.lang.reflect.Type wildcardTypeLowerBoundary) |
void |
endWildcardTypeLowerBounds(java.lang.reflect.Type[] wildcardTypeLowerBounds) |
void |
endWildcardTypeUpperBoundary(java.lang.reflect.Type wildcardTypeUpperBoundary) |
void |
endWildcardTypeUpperBounds(java.lang.reflect.Type[] wildcardTypeUpperBounds) |
java.lang.String |
getResult() |
void |
startActualTypeArguments(java.lang.reflect.Type[] actualTypeArguments) |
void |
startTypes(java.util.List<java.lang.reflect.Type> types) |
void |
startTypeVariable(java.lang.reflect.TypeVariable<?> typeVariable) |
void |
startTypeVariableBounds(java.lang.reflect.Type[] typeVariableBounds) |
void |
startWildcardTypeLowerBounds(java.lang.reflect.Type[] wildcardTypeLowerBounds) |
void |
startWildcardTypeUpperBounds(java.lang.reflect.Type[] wildcardTypeUpperBounds) |
getLocal, getParam, getReturn, getReturn, getTypeTraverser, getTypeVariables, pop, push, setLocal, setParam, setReturn, setReturn, setTypeTraverser, startActualTypeArgument, startClass, startComponentType, startEnclosingType, startGenericArrayType, startGenericComponentType, startParameterizedType, startRawType, startType, startTypeVariableBoundary, startWildcardType, startWildcardTypeLowerBoundary, startWildcardTypeUpperBoundarypublic ToStringTypeProcessor(ToStringTypeProcessor.TypeVariableOutputVariant typeVariableOutputVariant, boolean includeArgs, boolean includeEnclosingClass, boolean usePrefixes)
public java.lang.String getResult()
public void startTypes(java.util.List<java.lang.reflect.Type> types)
startTypes in interface TypeProcessorstartTypes in class AbstractTypeProcessorpublic void endTypes(java.util.List<java.lang.reflect.Type> types)
endTypes in interface TypeProcessorendTypes in class AbstractTypeProcessorpublic void endType(java.lang.reflect.Type type)
endType in interface TypeProcessorendType in class AbstractTypeProcessorpublic void endGenericArrayType(java.lang.reflect.GenericArrayType genericArrayType)
endGenericArrayType in interface TypeProcessorendGenericArrayType in class AbstractTypeProcessorpublic void endGenericComponentType(java.lang.reflect.Type genericComponentType)
endGenericComponentType in interface TypeProcessorendGenericComponentType in class AbstractTypeProcessorpublic void endParameterizedType(java.lang.reflect.ParameterizedType parameterizedType)
endParameterizedType in interface TypeProcessorendParameterizedType in class AbstractTypeProcessorpublic void endRawType(java.lang.reflect.Type rawType)
endRawType in interface TypeProcessorendRawType in class AbstractTypeProcessorpublic void startActualTypeArguments(java.lang.reflect.Type[] actualTypeArguments)
startActualTypeArguments in interface TypeProcessorstartActualTypeArguments in class AbstractTypeProcessorpublic void endActualTypeArguments(java.lang.reflect.Type[] actualTypeArguments)
endActualTypeArguments in interface TypeProcessorendActualTypeArguments in class AbstractTypeProcessorpublic void endActualTypeArgument(java.lang.reflect.Type actualTypeArgument)
endActualTypeArgument in interface TypeProcessorendActualTypeArgument in class AbstractTypeProcessorpublic void startTypeVariable(java.lang.reflect.TypeVariable<?> typeVariable)
startTypeVariable in interface TypeProcessorstartTypeVariable in class AbstractTypeProcessorpublic void endTypeVariable(java.lang.reflect.TypeVariable<?> typeVariable)
endTypeVariable in interface TypeProcessorendTypeVariable in class AbstractTypeProcessorpublic void startTypeVariableBounds(java.lang.reflect.Type[] typeVariableBounds)
startTypeVariableBounds in interface TypeProcessorstartTypeVariableBounds in class AbstractTypeProcessorpublic void endTypeVariableBounds(java.lang.reflect.Type[] typeVariableBounds)
endTypeVariableBounds in interface TypeProcessorendTypeVariableBounds in class AbstractTypeProcessorpublic void endTypeVariableBoundary(java.lang.reflect.Type typeVariableBoundary)
endTypeVariableBoundary in interface TypeProcessorendTypeVariableBoundary in class AbstractTypeProcessorpublic void endWildcardType(java.lang.reflect.WildcardType wildcardType)
endWildcardType in interface TypeProcessorendWildcardType in class AbstractTypeProcessorpublic void startWildcardTypeUpperBounds(java.lang.reflect.Type[] wildcardTypeUpperBounds)
startWildcardTypeUpperBounds in interface TypeProcessorstartWildcardTypeUpperBounds in class AbstractTypeProcessorpublic void endWildcardTypeUpperBounds(java.lang.reflect.Type[] wildcardTypeUpperBounds)
endWildcardTypeUpperBounds in interface TypeProcessorendWildcardTypeUpperBounds in class AbstractTypeProcessorpublic void endWildcardTypeUpperBoundary(java.lang.reflect.Type wildcardTypeUpperBoundary)
endWildcardTypeUpperBoundary in interface TypeProcessorendWildcardTypeUpperBoundary in class AbstractTypeProcessorpublic void startWildcardTypeLowerBounds(java.lang.reflect.Type[] wildcardTypeLowerBounds)
startWildcardTypeLowerBounds in interface TypeProcessorstartWildcardTypeLowerBounds in class AbstractTypeProcessorpublic void endWildcardTypeLowerBounds(java.lang.reflect.Type[] wildcardTypeLowerBounds)
endWildcardTypeLowerBounds in interface TypeProcessorendWildcardTypeLowerBounds in class AbstractTypeProcessorpublic void endWildcardTypeLowerBoundary(java.lang.reflect.Type wildcardTypeLowerBoundary)
endWildcardTypeLowerBoundary in interface TypeProcessorendWildcardTypeLowerBoundary in class AbstractTypeProcessorpublic void endClass(java.lang.Class<?> classType)
endClass in interface TypeProcessorendClass in class AbstractTypeProcessorpublic void endEnclosingType(java.lang.reflect.Type enclosingType)
endEnclosingType in interface TypeProcessorendEnclosingType in class AbstractTypeProcessorpublic void endComponentType(java.lang.reflect.Type componentType)
endComponentType in interface TypeProcessorendComponentType in class AbstractTypeProcessor