public interface SuperTypeAcceptor
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(LightweightTypeReference superType,
int distance) |
boolean accept(LightweightTypeReference superType, int distance)
superType - a visited super typedistance - the distance to the starting type. StringBuilder has a distance 1 to
AbstractStringBuilder, distance 1 and 2 to CharSequence and distance 2 to Appendable.