PsiFile (@NotNull String name, @NotNull String text) { final PsiFile file = super.createFile(name, text); PythonLanguageLevelPusher.specifyFileLanguageLevel(file.getVirtualFile(), myLanguageLevel); return file; }