add hints about warning kind
so we can found out what category to suppress
@@ -98,6 +98,11 @@ public abstract class Reporter {
default:
break;
}
+ if (warn == About.ANY) {
+ message = "(immutables) " + message;
+ } else {
+ message = "(immutables:" + warn.name().toLowerCase() + ") " + message;
+ }
reportMessage(Diagnostic.Kind.MANDATORY_WARNING, message, parameters);
}
