clarify deprecation status

GitOrigin-RevId: ce1a67525314031260c1b549fa82ce67a2dc4296
This commit is contained in:
Alexey Kudravtsev
2019-06-13 18:12:06 +03:00
committed by intellij-monorepo-bot
parent 1469637c54
commit af86231036
@@ -38,10 +38,7 @@ import com.intellij.util.concurrency.Semaphore;
import com.intellij.util.containers.ContainerUtil;
import com.intellij.util.messages.MessageBus;
import com.intellij.util.ui.UIUtil;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.annotations.TestOnly;
import org.jetbrains.annotations.*;
import javax.swing.*;
import java.util.*;
@@ -110,10 +107,11 @@ public abstract class PsiDocumentManagerBase extends PsiDocumentManager implemen
}
@Deprecated
// todo remove when Database Navigator plugin doesn't need that anymore
@ApiStatus.ScheduledForRemoval
// todo remove when plugins come to their senses and stopped using it
// todo to be removed in idea 17
public static void cachePsi(@NotNull Document document, @Nullable PsiFile file) {
LOG.warn("Unsupported method", new Throwable());
DeprecatedMethodException.report("Unsupported method");
}
public void associatePsi(@NotNull Document document, @Nullable PsiFile file) {