Package net.bytebuddy.description.type
Class TypeDescription.Generic.Visitor.Assigner.Dispatcher.AbstractBase
java.lang.Object
net.bytebuddy.description.type.TypeDescription.Generic.Visitor.Assigner.Dispatcher.AbstractBase
- All Implemented Interfaces:
TypeDescription.Generic.Visitor<Boolean>,TypeDescription.Generic.Visitor.Assigner.Dispatcher
- Direct Known Subclasses:
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray,TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType,TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType,TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable
- Enclosing interface:
TypeDescription.Generic.Visitor.Assigner.Dispatcher
public abstract static class TypeDescription.Generic.Visitor.Assigner.Dispatcher.AbstractBase
extends Object
implements TypeDescription.Generic.Visitor.Assigner.Dispatcher, TypeDescription.Generic.Visitor<Boolean>
An abstract base implementation of a dispatcher that forwards the decision to a visitor implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.description.type.TypeDescription.Generic.Visitor
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.ValidatorNested classes/interfaces inherited from interface net.bytebuddy.description.type.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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAssignableFrom(TypeDescription.Generic typeDescription) Checks if the represented type is a super type of the type that is supplied as an argument.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.bytebuddy.description.type.TypeDescription.Generic.Visitor
onGenericArray, onNonGenericType, onParameterizedType, onTypeVariable, onWildcard
-
Constructor Details
-
AbstractBase
public AbstractBase()
-
-
Method Details
-
isAssignableFrom
Checks if the represented type is a super type of the type that is supplied as an argument.- Specified by:
isAssignableFromin interfaceTypeDescription.Generic.Visitor.Assigner.Dispatcher- Parameters:
typeDescription- The type to check for being assignable to the represented type.- Returns:
trueif the represented type is assignable to the supplied type.
-