code: public static DiagnosticType warning(String name, String descriptionFormat) {
      return make(name, CheckLevel.WARNING, descriptionFormat);
    }
docs: Create a DiagnosticType at level CheckLevel.WARNING
  
  @param name An identifier
  @param descriptionFormat A format string
  @return A new DiagnosticType