public class ReflectionTypeMapper extends ReflectionTypeVisitor<Type,ModelFactory,NoThrow>
Type
into Java DOM types.Constructor and Description |
---|
ReflectionTypeMapper() |
Modifier and Type | Method and Description |
---|---|
protected Type |
visitClass(Class<?> type,
ModelFactory context)
Processes
Class using this visitor. |
protected Type |
visitGenericArrayType(GenericArrayType type,
ModelFactory context)
Processes
GenericArrayType using this visitor. |
protected Type |
visitParameterizedType(ParameterizedType type,
ModelFactory context)
Processes
ParameterizedType using this visitor. |
protected Type |
visitTypeVariable(TypeVariable<?> type,
ModelFactory context)
Processes
TypeVariable using this visitor. |
protected Type |
visitWildcardType(WildcardType type,
ModelFactory context)
Processes
WildcardType using this visitor. |
dispatch
protected Type visitClass(Class<?> type, ModelFactory context)
ReflectionTypeVisitor
Class
using this visitor.visitClass
in class ReflectionTypeVisitor<Type,ModelFactory,NoThrow>
type
- the processing targetcontext
- the current context (nullable)ReflectionTypeVisitor.dispatch(Type, Object)
protected Type visitGenericArrayType(GenericArrayType type, ModelFactory context)
ReflectionTypeVisitor
GenericArrayType
using this visitor.visitGenericArrayType
in class ReflectionTypeVisitor<Type,ModelFactory,NoThrow>
type
- the processing targetcontext
- the current context (nullable)ReflectionTypeVisitor.dispatch(Type, Object)
protected Type visitParameterizedType(ParameterizedType type, ModelFactory context)
ReflectionTypeVisitor
ParameterizedType
using this visitor.visitParameterizedType
in class ReflectionTypeVisitor<Type,ModelFactory,NoThrow>
type
- the processing targetcontext
- the current context (nullable)ReflectionTypeVisitor.dispatch(Type, Object)
protected Type visitTypeVariable(TypeVariable<?> type, ModelFactory context)
ReflectionTypeVisitor
TypeVariable
using this visitor.visitTypeVariable
in class ReflectionTypeVisitor<Type,ModelFactory,NoThrow>
type
- the processing targetcontext
- the current context (nullable)ReflectionTypeVisitor.dispatch(Type, Object)
protected Type visitWildcardType(WildcardType type, ModelFactory context)
ReflectionTypeVisitor
WildcardType
using this visitor.visitWildcardType
in class ReflectionTypeVisitor<Type,ModelFactory,NoThrow>
type
- the processing targetcontext
- the current context (nullable)ReflectionTypeVisitor.dispatch(Type, Object)
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.