void (InferenceSession session, Set<? super InferenceVariable> dependencies) { for (Collection<PsiType> boundTypes : myBounds.values()) { if (boundTypes != null) { for (PsiType bound : boundTypes) { session.collectDependencies(bound, dependencies); } } } }