@Path 注解中报告语法错误和未使用的 URI 模板。

示例:


  @GET
  @Path("/{unused}") // 从未使用过 'unused' 模板
  public String get() {
    return "";
  }