PsiSubstitutor (final PsiClass superClass) { PsiSubstitutor result = mySuperClassesToSubstitutors.get(superClass); if (result == null) { result = TypeConversionUtil.getSuperClassSubstitutor(superClass, myClass, PsiSubstitutor.EMPTY); mySuperClassesToSubstitutors.put(superClass, result); } return result; }