Interface SuperTypeAcceptor
-
- All Known Implementing Classes:
TypeConformanceComputer.MaxDistanceRawTypeAcceptor
public interface SuperTypeAcceptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(LightweightTypeReference superType, int distance)
-
-
-
Method Detail
-
accept
boolean accept(LightweightTypeReference superType, int distance)
- Parameters:
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.
-
-