PsiInferenceHelper (@NotNull LanguageLevel languageLevel) { if (languageLevel.isAtLeast(LanguageLevel.JDK_1_8)) { return new PsiGraphInferenceHelper(myManager); } return new PsiOldInferenceHelper(myManager); }