mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java, spring] Proper navigation element for LightRecordConstructorParameter
GitOrigin-RevId: 410c0a37b970ef0381bd41489ec229680396b247
This commit is contained in:
committed by
intellij-monorepo-bot
parent
124b7603bd
commit
1a11b3b66e
+7
@@ -116,6 +116,13 @@ public class LightRecordCanonicalConstructor extends LightMethod implements Synt
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull PsiElement getNavigationElement() {
|
||||
PsiRecordComponent recordComponent = getRecordComponent();
|
||||
if (recordComponent != null) return recordComponent;
|
||||
return super.getNavigationElement();
|
||||
}
|
||||
|
||||
@Override
|
||||
public PsiElement getParent() {
|
||||
return myWrapper;
|
||||
|
||||
Reference in New Issue
Block a user