protected static class TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.InvariantBinding 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 |
InvariantBinding(TypeDescription.Generic typeDescription)
Creates a new dispatcher for an invariant parameter of a parameterized type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
isAssignableFrom(TypeDescription.Generic typeDescription)
Checks if the represented type is a super type of the type that is supplied as an argument.
|
String |
toString() |
protected InvariantBinding(TypeDescription.Generic typeDescription)
typeDescription
- The invariant type of the parameter.public boolean isAssignableFrom(TypeDescription.Generic typeDescription)
TypeDescription.Generic.Visitor.Assigner.Dispatcher
isAssignableFrom
in interface TypeDescription.Generic.Visitor.Assigner.Dispatcher
typeDescription
- The type to check for being assignable to the represented type.true
if the represented type is assignable to the supplied type.Copyright © 2014–2016. All rights reserved.