PsiSubstitutor (@NotNull PsiClass superClass, @NotNull PsiClassType classType) { final PsiClassType.ClassResolveResult classResolveResult = classType.resolveGenerics(); return getSuperClassSubstitutor(superClass, classResolveResult.getElement(), classResolveResult.getSubstitutor()); }