[indexing-api] fix deprecation problems

GitOrigin-RevId: 67980a6d6dc55fbad9c307b9c55958b1934702ff
This commit is contained in:
Yann Cébron
2019-06-14 19:03:34 +03:00
committed by intellij-monorepo-bot
parent 1729ef59a6
commit 589f549a41
4 changed files with 14 additions and 8 deletions
@@ -112,8 +112,8 @@ public class SearchRequestCollector {
return null;
}
/** use {@link #searchWord(String, SearchScope, short, boolean, PsiElement)}
* instead
/**
* @deprecated use {@link #searchWord(String, SearchScope, short, boolean, PsiElement)}
*/
@Deprecated
public void searchWord(@NotNull String word,
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2019 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,9 +22,9 @@ import com.intellij.util.Query;
import com.intellij.util.QueryExecutor;
/**
* Use {@link DefinitionsScopedSearch} instead
* @deprecated Use {@link DefinitionsScopedSearch} instead
*/
@Deprecated()
@Deprecated
public class DefinitionsSearch extends ExtensibleQueryFactory<PsiElement, PsiElement> {
public static final ExtensionPointName<QueryExecutor> EP_NAME = ExtensionPointName.create("com.intellij.definitionsSearch");
public static DefinitionsSearch INSTANCE = new DefinitionsSearch();
@@ -1,4 +1,4 @@
// Copyright 2000-2018 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.psi.search.searches;
import com.intellij.openapi.application.DumbAwareSearchParameters;
@@ -74,7 +74,7 @@ public class ReferencesSearch extends ExtensibleQueryFactory<PsiReference, Refer
/**
* Same as {@link #getScopeDeterminedByUser()}. Use {@link #getEffectiveSearchScope} instead
* @deprecated Same as {@link #getScopeDeterminedByUser()}, use {@link #getEffectiveSearchScope} instead
*/
@Deprecated
@NotNull
@@ -153,9 +153,15 @@ public class NanoXmlUtil {
return result.toString();
}
/**
* @deprecated left for API compatibility
*/
@Deprecated
public static abstract class IXMLBuilderAdapter implements NanoXmlBuilder {
// used externally
/**
* @deprecated left for API compatibility
*/
@Deprecated
protected static void stop() throws ParserStoppedXmlException {
throw ParserStoppedXmlException.INSTANCE;