protected void initializeDistance(final JvmTypeReference firstType, Multimap<JvmType, JvmTypeReference> all,
Multiset<JvmType> cumulatedDistance) {
ITypeArgumentContext firstContext = getTypeArgumentContextProvider().getTypeArgumentContext(
new TypeArgumentContextProvider.ReceiverRequest(firstType));
MaxDistanceRawTypeAcceptor acceptor = new MaxDistanceRawTypeAcceptor(
cumulatedDistance, all, new ArgumentResolver(firstContext));
acceptor.accept(firstType, 0);
superTypeCollector.collectSuperTypes(firstType, acceptor);
}