void (@NlsSafe String line) { if (!StringUtil.isEmpty(line)) { BuildMessage.Kind kind = BuildMessage.Kind.INFO; if (line.contains("error")) { kind = BuildMessage.Kind.ERROR; myErrorsReported = true; } else if (line.contains("warning")) { kind = BuildMessage.Kind.WARNING; } myContext.processMessage(new CompilerMessage(myCompilerName, kind, line)); } }