public static class TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray extends TypeDescription.Generic.Visitor.Assigner.Dispatcher.AbstractBase
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.ForTypeVariableTypeDescription.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 |
ForGenericArray(TypeDescription.Generic genericArray)
Creates a new dispatcher for checking the assignability of a generic array 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() |
isAssignableFromprotected ForGenericArray(TypeDescription.Generic genericArray)
genericArray - The generic array type to which another type is assigned.public Boolean onGenericArray(TypeDescription.Generic genericArray)
TypeDescription.Generic.VisitorSort#GENERIC_ARRAY).genericArray - The generic array type.public Boolean onWildcard(TypeDescription.Generic wildcard)
TypeDescription.Generic.VisitorSort#WILDCARD).wildcard - The wildcard.public Boolean onParameterizedType(TypeDescription.Generic parameterizedType)
TypeDescription.Generic.VisitorSort#PARAMETERIZED).parameterizedType - The generic array type.public Boolean onTypeVariable(TypeDescription.Generic typeVariable)
TypeDescription.Generic.VisitorSort#VARIABLE, Sort#VARIABLE_SYMBOLIC).typeVariable - The generic array type.public Boolean onNonGenericType(TypeDescription.Generic typeDescription)
TypeDescription.Generic.VisitorSort#NON_GENERIC).typeDescription - The non-generic type.Copyright © 2014–2016. All rights reserved.