public static interface TypeDescription.Generic.Visitor.Assigner.Dispatcher
Modifier and Type | Interface and Description |
---|---|
static class |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.AbstractBase
An abstract base implementation of a dispatcher that forwards the decision to a visitor implementation.
|
static class |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray
A dispatcher for checking the assignability of a generic array type.
|
static class |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType
A dispatcher for checking the assignability of a non-generic type.
|
static class |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType
A dispatcher for checking the assignability of a parameterized type.
|
static class |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable
A dispatcher for checking the assignability of a type variable.
|
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.
|
boolean isAssignableFrom(TypeDescription.Generic typeDescription)
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–2020. All rights reserved.