mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
PsiClassType.setLanguageLevel is pure
This commit is contained in:
@@ -20,6 +20,7 @@ import com.intellij.pom.java.LanguageLevel;
|
||||
import com.intellij.psi.search.GlobalSearchScope;
|
||||
import com.intellij.psi.util.PsiUtil;
|
||||
import com.intellij.util.ArrayFactory;
|
||||
import org.jetbrains.annotations.Contract;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -233,6 +234,7 @@ public abstract class PsiClassType extends PsiType {
|
||||
* @return type with requested language level
|
||||
*/
|
||||
@NotNull
|
||||
@Contract(pure = true)
|
||||
public abstract PsiClassType setLanguageLevel(@NotNull LanguageLevel languageLevel);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user