return StdLanguages.JAVA;
}
public boolean importClass(PsiClass aClass) {
return JavaCodeStyleManager.getInstance(getProject()).addImport(this, aClass);
}
<BUG>private static final Key<ParameterizedCachedValue<LanguageLevel, PsiJavaFile>> LANGUAGE_LEVEL = Key.create("LANGUAGE_LEVEL");
</BUG>
@NotNull
public LanguageLevel getLanguageLevel() {
<BUG>return getManager().getCachedValuesManager().getParameterizedCachedValue(this, LANGUAGE_LEVEL, myLanguageLevelProvider, false, this);
</BUG>
}

return StdLanguages.JAVA;
}
public boolean importClass(PsiClass aClass) {
return JavaCodeStyleManager.getInstance(getProject()).addImport(this, aClass);
}
private static final Key<ParameterizedCachedValue<LanguageLevel, PsiJavaFileBaseImpl>> LANGUAGE_LEVEL_KEY = Key.create("LANGUAGE_LEVEL");
@NotNull
public LanguageLevel getLanguageLevel() {
return getManager().getCachedValuesManager().getParameterizedCachedValue(this, LANGUAGE_LEVEL_KEY, LANGUAGE_LEVEL_PROVIDER, false, this);
}
