[java-*] fix deprecation problems

GitOrigin-RevId: 364e50eb9cb63be1c1ac68998c3df977691e9af4
This commit is contained in:
Yann Cébron
2019-07-01 13:16:33 +02:00
committed by intellij-monorepo-bot
parent 12a05dfa1e
commit 78806a3d9f
30 changed files with 86 additions and 32 deletions

View File

@@ -89,7 +89,7 @@ public abstract class PsiShortNamesCache {
* to the specified set.
*
* @param dest the set to add the names to.
* @see #processAllClassNames
* @deprecated use {@link #processAllClassNames}
*/
@Deprecated
public void getAllClassNames(@NotNull HashSet<String> dest) {
@@ -140,7 +140,7 @@ public abstract class PsiShortNamesCache {
* to the specified set.
*
* @param set the set to add the names to.
* @see #processAllMethodNames
* @deprecated use {@link #processAllMethodNames(Processor, GlobalSearchScope, IdFilter)}
*/
@Deprecated
public void getAllMethodNames(@NotNull HashSet<String> set) {
@@ -171,7 +171,7 @@ public abstract class PsiShortNamesCache {
* to the specified set.
*
* @param set the set to add the names to.
* @see #processAllFieldNames
* @deprecated use {@link #processAllFieldNames(Processor, GlobalSearchScope, IdFilter)}
*/
@Deprecated
public void getAllFieldNames(@NotNull HashSet<String> set) {

View File

@@ -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;
@@ -76,7 +76,7 @@ public class MethodReferencesSearch extends ExtensibleQueryFactory<PsiReference,
/**
* @return Same as {@link #getScopeDeterminedByUser()}. Searchers most likely need to use {@link #getEffectiveSearchScope()}.
* @deprecated Same as {@link #getScopeDeterminedByUser()}. Searchers most likely need to use {@link #getEffectiveSearchScope()}.
*/
@Deprecated
@NotNull