mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
cleanup
GitOrigin-RevId: 5ea5ad0b8ea51bdf9f474ace20644e355dae034e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fc783b8552
commit
8cd6b94df0
@@ -61,6 +61,7 @@ public class OverridingMethodsSearch extends ExtensibleQueryFactory<PsiMethod, O
|
||||
private OverridingMethodsSearch() {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static Query<PsiMethod> search(@NotNull PsiMethod method, @NotNull SearchScope scope, final boolean checkDeep) {
|
||||
if (ReadAction.compute(() -> !PsiUtil.canBeOverridden(method))) return EmptyQuery.getEmptyQuery(); // Optimization
|
||||
return INSTANCE.createUniqueResultsQuery(new SearchParameters(method, scope, checkDeep));
|
||||
|
||||
Reference in New Issue
Block a user