private static @Nullable TextRange getStartTagRange(XmlTag tag) {
    ASTNode start = tag.getNode().findChildByType(XmlTokenType.XML_START_TAG_START);
    ASTNode end = tag.getNode().findChildByType(TAG_END_TOKEN_SET);
    return start != null && end != null
           ? new TextRange(start.getTextRange().getStartOffset(), end.getTextRange().getEndOffset()) : null;
  }
private static @Nullable TextRange getStartTagRange(XmlTag tag)