AttributeValuePresentation (@NotNull Editor editor, @NotNull PsiFile file, @NotNull String quote) { PsiElement atParent = getAttributeCandidate(editor, file, true); XmlAttributeDescriptor descriptor; if (atParent instanceof XmlAttribute) { XmlTag parent = ((XmlAttribute)atParent).getParent(); return XmlExtension.getExtension(file).getAttributeValuePresentation(parent, ((XmlAttribute)atParent).getName(), quote); } return XmlExtension.getExtension(file).getAttributeValuePresentation(null, "", quote); }