Reports expressions passed as arguments for @Pattern parameters and returned from @Pattern-annotated methods that do not match the specified pattern.

Example:


  @Pattern("\\d\\d-\\d\\d\\d") String getId() {
    return "1";
  }