IDEA-359853 rename PsiKeywords to JavaKeywords

GitOrigin-RevId: 549c1b35265414221b6b83ed1b5c426418ad032e
This commit is contained in:
Max Medvedev
2025-04-03 11:33:32 +00:00
committed by intellij-monorepo-bot
parent 7e71653ee6
commit 0e5df35887
223 changed files with 911 additions and 892 deletions
@@ -1,7 +1,7 @@
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.psi.impl.search;
import com.intellij.java.syntax.parser.PsiKeywords;
import com.intellij.java.syntax.parser.JavaKeywords;
import com.intellij.openapi.project.DumbService;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.TextRange;
@@ -98,7 +98,7 @@ class ConstructorReferencesSearchHelper {
if (!DumbService.getInstance(project).runReadActionInSmartMode(
() -> processSuperOrThis(containingClass, constructor, constructorCanBeCalledImplicitly[0], searchScope, project,
isStrictSignatureSearch,
PsiKeywords.THIS, PsiKeywords.SUPER, processor))) {
JavaKeywords.THIS, JavaKeywords.SUPER, processor))) {
return false;
}
@@ -107,7 +107,7 @@ class ConstructorReferencesSearchHelper {
final PsiElement navigationElement = inheritor.getNavigationElement();
if (navigationElement instanceof PsiClass) {
return processSuperOrThis((PsiClass)navigationElement, constructor, constructorCanBeCalledImplicitly[0], searchScope, project,
isStrictSignatureSearch, PsiKeywords.SUPER, PsiKeywords.THIS, processor);
isStrictSignatureSearch, JavaKeywords.SUPER, JavaKeywords.THIS, processor);
}
return true;
};