@HashCodeAndEqualsPlugin.Enhance public static class TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable 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.ForTypeVariable
TypeDescription.Generic.Visitor.AnnotationStripper, TypeDescription.Generic.Visitor.Assigner, TypeDescription.Generic.Visitor.ForRawType, TypeDescription.Generic.Visitor.ForSignatureVisitor, TypeDescription.Generic.Visitor.NoOp, TypeDescription.Generic.Visitor.Reducing, TypeDescription.Generic.Visitor.Reifying, TypeDescription.Generic.Visitor.Substitutor, TypeDescription.Generic.Visitor.TypeErasing, TypeDescription.Generic.Visitor.Validator
Modifier | Constructor and Description |
---|---|
protected |
ForTypeVariable(TypeDescription.Generic typeVariable)
Creates a new dispatcher of a type variable.
|
Modifier and Type | Method and Description |
---|---|
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 ). |
isAssignableFrom
protected ForTypeVariable(TypeDescription.Generic typeVariable)
typeVariable
- The description of the type variable to which another type is assigned.public Boolean onGenericArray(TypeDescription.Generic genericArray)
Sort#GENERIC_ARRAY
).genericArray
- The generic array type.public Boolean onWildcard(TypeDescription.Generic wildcard)
Sort#WILDCARD
).wildcard
- The wildcard.public Boolean onParameterizedType(TypeDescription.Generic parameterizedType)
Sort#PARAMETERIZED
).parameterizedType
- The generic array type.public Boolean onTypeVariable(TypeDescription.Generic typeVariable)
Sort#VARIABLE
, Sort#VARIABLE_SYMBOLIC
).typeVariable
- The generic array type.public Boolean onNonGenericType(TypeDescription.Generic typeDescription)
Sort#NON_GENERIC
).typeDescription
- The non-generic type.Copyright © 2014–2020. All rights reserved.