Class TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.InvariantBinding

    • Constructor Detail

      • InvariantBinding

        protected InvariantBinding​(TypeDescription.Generic typeDescription)
        Creates a new dispatcher for an invariant parameter of a parameterized type.
        Parameters:
        typeDescription - The invariant type of the parameter.
    • Method Detail

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