org.eclipse.xtext.common.types.util
Interface SuperTypeCollector.SuperTypeAcceptor

All Known Implementing Classes:
TypeConformanceComputer.MaxDistanceRawTypeAcceptor
Enclosing class:
SuperTypeCollector

public static interface SuperTypeCollector.SuperTypeAcceptor


Method Summary
 boolean accept(JvmTypeReference superType, int distance)
           
 

Method Detail

accept

boolean accept(JvmTypeReference superType,
               int distance)
Parameters:
superType - a found 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.