static String getMessageForInvalidTag(String paramName) {
    return String.format(
        "@%1$s is not a valid tag, but is a parameter name. "
            + "Use {@code %1$s} to refer to parameter names inline.",
        paramName);
  }
@Test
  public void invalidTagMessage() {
    assertEquals(
        "@type is not a valid tag, but is a parameter name. Use {@code type} to refer to parameter"
            + " names inline.",
        InvalidInlineTag.getMessageForInvalidTag("type"));
  }