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.
  • Constructor Details

    • AbstractBase

      public AbstractBase()
  • Method Details

    • isAssignableFrom

      public boolean isAssignableFrom(TypeDescription.Generic typeDescription)
      Checks if the represented type is a super type of the type that is supplied as an argument.
      Specified by:
      isAssignableFrom in interface TypeDescription.Generic.Visitor.Assigner.Dispatcher
      Parameters:
      typeDescription - The type to check for being assignable to the represented type.
      Returns:
      true if the represented type is assignable to the supplied type.