[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:
Nikolay Chashnikov
2022-02-11 17:02:23 +03:00
committed by intellij-monorepo-bot
parent 101cd9d47d
commit abc373560d
149 changed files with 207 additions and 561 deletions

View File

@@ -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));
}