mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[analysis-impl] fix deprecation problems
GitOrigin-RevId: f3fd91e59112eacc4f43c3caccb8f09d0da417e5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2ff14d8117
commit
901d23de0d
+2
-2
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
package com.intellij.codeInsight.daemon.impl.quickfix;
|
||||
|
||||
@@ -25,7 +25,7 @@ public final class QuickFixAction {
|
||||
registerQuickFixAction(info, null, action);
|
||||
}
|
||||
|
||||
/** This is used by TeamCity plugin */
|
||||
/** @deprecated This is used by TeamCity plugin */
|
||||
@Deprecated
|
||||
public static void registerQuickFixAction(@Nullable HighlightInfo info,
|
||||
@Nullable IntentionAction action,
|
||||
|
||||
+3
@@ -49,6 +49,9 @@ public interface InspectionProfileManager {
|
||||
@NotNull
|
||||
SeverityRegistrar getSeverityRegistrar();
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #getSeverityRegistrar()}
|
||||
*/
|
||||
@NotNull
|
||||
@Deprecated
|
||||
default SeverityRegistrar getOwnSeverityRegistrar() {
|
||||
|
||||
+3
@@ -29,6 +29,9 @@ public abstract class InspectionProjectProfileManager implements InspectionProfi
|
||||
return project.getComponent(ProjectInspectionProfileManager.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #getCurrentProfile()}
|
||||
*/
|
||||
@NotNull
|
||||
@Deprecated
|
||||
public InspectionProfile getInspectionProfile() {
|
||||
|
||||
+2
-1
@@ -104,7 +104,8 @@ public class FileReferenceSet {
|
||||
}
|
||||
|
||||
/**
|
||||
* This should be removed. Please use {@link FileReference#getContexts()} instead.
|
||||
* This should be removed.
|
||||
* @deprecated use {@link FileReference#getContexts()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
protected Collection<PsiFileSystemItem> getExtraContexts() {
|
||||
|
||||
Reference in New Issue
Block a user