public static boolean isDocToken(@Nullable ASTNode element) {
    return
      element != null &&
      element.getElementType().getClass().equals(IJavaDocElementType.class) &&
      !is(element, BASIC_DOC_SNIPPET_ATTRIBUTE_VALUE);
  }
public static boolean isDocToken(@Nullable ASTNode element)