[analysis-impl] fix deprecation problems

GitOrigin-RevId: f3fd91e59112eacc4f43c3caccb8f09d0da417e5
This commit is contained in:
Yann Cébron
2019-06-13 15:18:30 +03:00
committed by intellij-monorepo-bot
parent 2ff14d8117
commit 901d23de0d
4 changed files with 10 additions and 3 deletions
@@ -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,
@@ -49,6 +49,9 @@ public interface InspectionProfileManager {
@NotNull
SeverityRegistrar getSeverityRegistrar();
/**
* @deprecated use {@link #getSeverityRegistrar()}
*/
@NotNull
@Deprecated
default SeverityRegistrar getOwnSeverityRegistrar() {
@@ -29,6 +29,9 @@ public abstract class InspectionProjectProfileManager implements InspectionProfi
return project.getComponent(ProjectInspectionProfileManager.class);
}
/**
* @deprecated use {@link #getCurrentProfile()}
*/
@NotNull
@Deprecated
public InspectionProfile getInspectionProfile() {
@@ -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() {