mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
yet another validity check in pase (EA-39233)
This commit is contained in:
+1
@@ -375,6 +375,7 @@ public class JavaMemberNameCompletionContributor extends CompletionContributor {
|
||||
|
||||
for (final PsiField field : fields) {
|
||||
if (field == element) continue;
|
||||
assert field.isValid();
|
||||
final PsiModifierList modifierList = field.getModifierList();
|
||||
if (staticContext && (modifierList != null && !modifierList.hasModifierProperty(PsiModifier.STATIC))) continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user