boolean (final @NotNull PsiElement element) { return element instanceof XmlAttributeValue || element instanceof XmlTag || element instanceof XmlElementDecl || element instanceof XmlComment; // e.g. <!--@elvariable name="xxx" type="yyy"--> }