mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-64071 - assert: DocumentFoldingInfo.writeExternal
This commit is contained in:
+3
@@ -147,6 +147,9 @@ public class JavaElementSignatureProvider extends AbstractElementSignatureProvid
|
||||
if (!(parent instanceof PsiClass) && !(parent instanceof PsiMethod) && !(parent instanceof PsiField)) {
|
||||
return null;
|
||||
}
|
||||
if (!element.equals(((PsiDocCommentOwner)parent).getDocComment())) {
|
||||
return null;
|
||||
}
|
||||
String parentSignature = getSignature(parent);
|
||||
if (parentSignature == null) return null;
|
||||
buffer.append(parentSignature);
|
||||
|
||||
Reference in New Issue
Block a user