code: static String depr(String since, boolean forRemoval) {
          String d = "@Deprecated";
  
          if (since.isEmpty() && !forRemoval) {
              return d;
          }
  
          StringBuilder sb = new StringBuilder(d).append('(');
  
          if (!since.isEmpty()) {
              sb.append("since=\"")
                .append(since.replace("\"", "\\\""))
                .append('"');
          }
  
          if (forRemoval) {
              if (!since.isEmpty()) {
                  sb.append(", ");
              }
              sb.append("forRemoval=true");
          }
  
          sb.append(')');
  
          return sb.toString();
      }
docs: Converts deprecation information into an {@code @Deprecated} annotation.
  The output is minimized: an empty since string is omitted, a forRemoval
  value of false is omitted; and if both are omitted, the trailing parentheses
  are also omitted.
  
  @param since the since value
  @param forRemoval the forRemoval value
  @return string containing an annotation