mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-navbar] IDEA-352301 Navigation bar does not show record components
GitOrigin-RevId: 57acf901a3c3594260d8334b2491984410bbe5a9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2fd6e36b79
commit
14d4faddad
+4
-1
@@ -90,7 +90,10 @@ public class JavaFileTreeModel extends TextEditorBasedStructureViewModel impleme
|
||||
if (element instanceof PsiClass aClass) {
|
||||
return aClass.getQualifiedName() != null;
|
||||
}
|
||||
|
||||
if (element instanceof PsiRecordComponent recordComponent) {
|
||||
PsiClass parent = recordComponent.getContainingClass();
|
||||
return parent != null && parent.getQualifiedName() != null;
|
||||
}
|
||||
return element instanceof PsiLambdaExpression;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user