Interface SuperTypeAcceptor

    • Method Detail

      • accept

        boolean accept​(LightweightTypeReference superType,
                       int distance)
        Parameters:
        superType - a visited super type
        distance - the distance to the starting type. StringBuilder has a distance 1 to AbstractStringBuilder, distance 1 and 2 to CharSequence and distance 2 to Appendable.