mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't show 'Documentation for null' in dynamic DOM (IDEA-60302)
This commit is contained in:
@@ -115,6 +115,9 @@ public abstract class AbstractDomChildrenDescriptor implements XmlElementDescrip
|
||||
@Nullable
|
||||
public PsiElement getDeclaration() {
|
||||
final PomTarget target = ((CustomDomChildrenDescription)description).getTagNameDescriptor().findDeclaration(finalDomElement);
|
||||
if (target == description) {
|
||||
return childTag;
|
||||
}
|
||||
return target == null ? null : PomService.convertToPsi(childTag.getProject(), target);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user