PsiType (@NotNull PsiParameter parameter, @NotNull LanguageLevel languageLevel, @NotNull PsiSubstitutor substitutor) { PsiType parmType = parameter.getType(); if (parmType instanceof PsiClassType) { parmType = ((PsiClassType)parmType).setLanguageLevel(languageLevel); } return substitutor.substitute(parmType); }