Package com.strobel.reflection
Class Helper.Adapter
java.lang.Object
- Enclosing class:
Helper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set
<Helper.TypePair> (package private) ListBuffer
<Type<?>> (package private) ListBuffer
<Type<?>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
private void
adaptRecursive
(Type<?> source, Type<?> target) private void
adaptRecursive
(TypeList source, TypeList target) visitArrayType
(Type<?> source, Type<?> target) visitClassType
(Type<?> source, Type<?> target) visitTypeParameter
(Type<?> source, Type<?> target) visitWildcardType
(Type<?> source, Type<?> target) Methods inherited from class com.strobel.reflection.SimpleVisitor
visitCapturedType
Methods inherited from class com.strobel.reflection.DefaultTypeVisitor
visitPrimitiveType
Methods inherited from class com.strobel.reflection.TypeVisitor
visit, visit
-
Field Details
-
from
ListBuffer<Type<?>> from -
to
ListBuffer<Type<?>> to -
mapping
-
cache
-
-
Constructor Details
-
Adapter
Adapter(ListBuffer<Type<?>> from, ListBuffer<Type<?>> to)
-
-
Method Details
-
adapt
- Throws:
Helper.AdaptFailure
-
visitClassType
- Overrides:
visitClassType
in classDefaultTypeVisitor<Type<?>,
Void> - Throws:
Helper.AdaptFailure
-
visitArrayType
- Overrides:
visitArrayType
in classDefaultTypeVisitor<Type<?>,
Void> - Throws:
Helper.AdaptFailure
-
visitWildcardType
- Overrides:
visitWildcardType
in classDefaultTypeVisitor<Type<?>,
Void> - Throws:
Helper.AdaptFailure
-
visitTypeParameter
- Overrides:
visitTypeParameter
in classDefaultTypeVisitor<Type<?>,
Void> - Throws:
Helper.AdaptFailure
-
visitType
- Overrides:
visitType
in classTypeVisitor<Type<?>,
Void>
-
adaptRecursive
-
adaptRecursive
- Throws:
Helper.AdaptFailure
-