XmlTag (final @NotNull UpdateParameterInfoContext context) { final XmlTag tag = findXmlTag(context.getFile(), context.getOffset()); if (tag != null) { final PsiElement currentXmlTag = context.getParameterOwner(); if (currentXmlTag == null || currentXmlTag == tag) return tag; } return null; }