mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
rollback
This commit is contained in:
@@ -110,9 +110,5 @@ public interface PsiPackage extends PsiCheckedRenameElement, NavigationItem, Psi
|
||||
@NonNls
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* This method is intended to be used in dumb mode only.
|
||||
* Most likely, it should be hidden in implementation.
|
||||
*/
|
||||
boolean containsClassNamed(String name);
|
||||
}
|
||||
|
||||
@@ -210,7 +210,7 @@ public class PsiPackageImpl extends PsiPackageBase implements PsiPackage, Querya
|
||||
NameHint nameHint = processor.getHint(NameHint.KEY);
|
||||
if (nameHint != null) {
|
||||
final String shortName = nameHint.getName(state);
|
||||
if (processClassesByName(processor, state, place, scope, shortName)) return false;
|
||||
if (containsClassNamed(shortName) && processClassesByName(processor, state, place, scope, shortName)) return false;
|
||||
}
|
||||
else if (prefixMatcher != null) {
|
||||
for (String className : getClassNamesCache()) {
|
||||
|
||||
Reference in New Issue
Block a user