@HashCodeAndEqualsPlugin.Enhance protected static class TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.CovariantBinding extends Object implements TypeDescription.Generic.Visitor.Assigner.Dispatcher
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| Modifier | Constructor and Description |
|---|---|
protected |
CovariantBinding(TypeDescription.Generic upperBound)
Creates a new dispatcher for covariant parameter of a parameterized type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAssignableFrom(TypeDescription.Generic typeDescription)
Checks if the represented type is a super type of the type that is supplied as an argument.
|
protected CovariantBinding(TypeDescription.Generic upperBound)
upperBound - The upper bound type of a covariant parameter.public boolean isAssignableFrom(TypeDescription.Generic typeDescription)
isAssignableFrom in interface TypeDescription.Generic.Visitor.Assigner.DispatchertypeDescription - The type to check for being assignable to the represented type.true if the represented type is assignable to the supplied type.Copyright © 2014–2019. All rights reserved.