mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
[API] replace ApiStatus.ScheduledForRemoval annotation by 'forRemoval' attribute (IDEA-288466)
Since we don't want to specify planned removal date anymore, there is no need to use a separate annotation. GitOrigin-RevId: a047c55475e0f4752a2842577e094fb041c6c05b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
101cd9d47d
commit
abc373560d
@@ -2,7 +2,6 @@
|
||||
package com.jetbrains.python.psi.resolve;
|
||||
|
||||
import com.jetbrains.python.psi.types.TypeEvalContext;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
|
||||
@@ -38,8 +37,7 @@ public final class PyResolveContext {
|
||||
* to explicitly specify type evaluation context.
|
||||
*/
|
||||
@NotNull
|
||||
@Deprecated
|
||||
@ApiStatus.ScheduledForRemoval(inVersion = "2022.1")
|
||||
@Deprecated(forRemoval = true)
|
||||
public static PyResolveContext defaultContext() {
|
||||
return new PyResolveContext(false, true, false, TypeEvalContext.codeInsightFallback(null));
|
||||
}
|
||||
@@ -54,8 +52,7 @@ public final class PyResolveContext {
|
||||
* to explicitly specify type evaluation context.
|
||||
*/
|
||||
@NotNull
|
||||
@Deprecated
|
||||
@ApiStatus.ScheduledForRemoval(inVersion = "2022.1")
|
||||
@Deprecated(forRemoval = true)
|
||||
public static PyResolveContext implicitContext() {
|
||||
return new PyResolveContext(true, true, false, TypeEvalContext.codeInsightFallback(null));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user