mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-69932 - PIEAE: LeafPsiElement.invalid
This commit is contained in:
@@ -125,7 +125,7 @@ public class RunLineMarkerInfo extends LineMarkerInfo<PsiElement> {
|
||||
@Nullable
|
||||
@Override
|
||||
public Object getData(@NonNls String dataId) {
|
||||
if (Location.DATA_KEY.is(dataId)) return new PsiLocation<PsiElement>(myElement);
|
||||
if (Location.DATA_KEY.is(dataId)) return myElement.isValid() ? new PsiLocation<PsiElement>(myElement) : null;
|
||||
return myDelegate.getData(dataId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user