mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix tests broken by package classes caching
This commit is contained in:
@@ -497,7 +497,8 @@ public class PsiPackageImpl extends PsiElementBase implements PsiPackage, Querya
|
||||
NameHint nameHint = processor.getHint(NameHint.KEY);
|
||||
if (nameHint != null) {
|
||||
final String shortName = nameHint.getName(state);
|
||||
if (containsClassNamed(shortName) && processClassesByName(processor, state, place, scope, shortName)) return false;
|
||||
if ((migration != null || containsClassNamed(shortName))
|
||||
&& processClassesByName(processor, state, place, scope, shortName)) return false;
|
||||
}
|
||||
else if (prefixMatcher != null && migration == null) {
|
||||
for (String className : getClassNamesCache()) {
|
||||
|
||||
Reference in New Issue
Block a user