public static class TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType extends TypeDescription.Generic.Visitor.Assigner.Dispatcher.AbstractBase
Modifier and Type | Class and Description |
---|---|
protected static class |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner
An assigner for a parameter of a parameterized type.
|
TypeDescription.Generic.Visitor.Assigner.Dispatcher.AbstractBase, TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray, TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType, TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType, TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable
TypeDescription.Generic.Visitor.AnnotationStripper, TypeDescription.Generic.Visitor.Assigner, TypeDescription.Generic.Visitor.ForSignatureVisitor, TypeDescription.Generic.Visitor.NoOp, TypeDescription.Generic.Visitor.Reducing, TypeDescription.Generic.Visitor.Substitutor, TypeDescription.Generic.Visitor.TypeErasing, TypeDescription.Generic.Visitor.TypeVariableErasing, TypeDescription.Generic.Visitor.Validator
Modifier | Constructor and Description |
---|---|
protected |
ForParameterizedType(TypeDescription.Generic parameterizedType)
Creates a new dispatcher for checking the assignability of a parameterized type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
Boolean |
onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
Boolean |
onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
Boolean |
onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
Boolean |
onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
Boolean |
onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
String |
toString() |
isAssignableFrom
protected ForParameterizedType(TypeDescription.Generic parameterizedType)
parameterizedType
- The parameterized type to which another type is assigned.public Boolean onGenericArray(TypeDescription.Generic genericArray)
TypeDescription.Generic.Visitor
Sort#GENERIC_ARRAY
).genericArray
- The generic array type.public Boolean onWildcard(TypeDescription.Generic wildcard)
TypeDescription.Generic.Visitor
Sort#WILDCARD
).wildcard
- The wildcard.public Boolean onParameterizedType(TypeDescription.Generic parameterizedType)
TypeDescription.Generic.Visitor
Sort#PARAMETERIZED
).parameterizedType
- The generic array type.public Boolean onTypeVariable(TypeDescription.Generic typeVariable)
TypeDescription.Generic.Visitor
Sort#VARIABLE
, Sort#VARIABLE_SYMBOLIC
).typeVariable
- The generic array type.public Boolean onNonGenericType(TypeDescription.Generic typeDescription)
TypeDescription.Generic.Visitor
Sort#NON_GENERIC
).typeDescription
- The non-generic type.Copyright © 2014–2016. All rights reserved.