From 5d493a6231acff01ef6877cbf17d7cef890df348 Mon Sep 17 00:00:00 2001 From: Nikolay Chashnikov Date: Thu, 10 Oct 2024 20:50:38 +0200 Subject: [PATCH] [analysis] API cleanup: mark deprecated unused API for removal (IJPL-156972) GitOrigin-RevId: d2fb148fffcb020b618e16ad97f7c2e726dc7456 --- .../src/com/intellij/codeInspection/ex/QuickFixWrapper.java | 2 +- .../src/com/intellij/codeInspection/ex/InspectionProfile.kt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/analysis-api/src/com/intellij/codeInspection/ex/QuickFixWrapper.java b/platform/analysis-api/src/com/intellij/codeInspection/ex/QuickFixWrapper.java index 076dbb288350..f466b7285b88 100644 --- a/platform/analysis-api/src/com/intellij/codeInspection/ex/QuickFixWrapper.java +++ b/platform/analysis-api/src/com/intellij/codeInspection/ex/QuickFixWrapper.java @@ -176,7 +176,7 @@ public final class QuickFixWrapper implements IntentionAction, PriorityAction, C * @deprecated use {@link QuickFixWrapper#unwrap(CommonIntentionAction)} instead. Avoid {@code instanceof QuickFixWrapper} checks, * as the implementation may be different in the future */ - @Deprecated + @Deprecated(forRemoval = true) public @NotNull LocalQuickFix getFix() { return myFix; } diff --git a/platform/analysis-impl/src/com/intellij/codeInspection/ex/InspectionProfile.kt b/platform/analysis-impl/src/com/intellij/codeInspection/ex/InspectionProfile.kt index 9ee7e3cd3c60..b5c9cc45ef4a 100644 --- a/platform/analysis-impl/src/com/intellij/codeInspection/ex/InspectionProfile.kt +++ b/platform/analysis-impl/src/com/intellij/codeInspection/ex/InspectionProfile.kt @@ -7,7 +7,9 @@ import com.intellij.openapi.project.Project import com.intellij.profile.ProfileEx import com.intellij.profile.codeInspection.BaseInspectionProfileManager import com.intellij.profile.codeInspection.InspectionProfileManager +import org.jetbrains.annotations.ApiStatus +@ApiStatus.ScheduledForRemoval @Deprecated("Use 'InspectionProfile.DEFAULT_PROFILE_NAME'", replaceWith = ReplaceWith("InspectionProfile.DEFAULT_PROFILE_NAME")) const val DEFAULT_PROFILE_NAME: String = InspectionProfile.DEFAULT_PROFILE_NAME