public void ERROR(Object problemObject, String rule, String problemMessage) { getEnvironment().analyzerError(problemMessage, rule, problemObject); }
public void ERROR(List<?> problemObjects, String rule, String problemMessage) { getEnvironment().analyzerError(problemMessage, rule, problemObjects); }
public void ERROR(Object problemObject, String rule, String problemMessage) { getEnvironment().analyzerError(problemMessage, rule, problemObject); }
public void ERROR(String problemMessage) { getEnvironment().utilityError(problemMessage, null, null); }
public void ERROR(String problemMessage) { getEnvironment().utilityError(problemMessage, null, null); }
public void ERROR(List<?> problemObjects, String rule, String problemMessage) { getEnvironment().analyzerError(problemMessage, rule, problemObjects); }
/** * Get the message formatting assistant, returning the value set by * setFormatter, if non-null, else that provided by the environment, if * non-null, else AbstractFormattingHelper.INSTANCE. * * @return A non-null message formatting helper */ public FormattingHelper getFormatter() { if (formatter == null) { BasicEnvironment environment = getEnvironment(); if (environment != null) { formatter = environment.getFormatter(); } if (formatter == null) { formatter = AbstractFormattingHelper.INSTANCE; } } return formatter; }
/** * Get the message formatting assistant, returning the value set by * setFormatter, if non-null, else that provided by the environment, if * non-null, else AbstractFormattingHelper.INSTANCE. * * @return A non-null message formatting helper */ public FormattingHelper getFormatter() { if (formatter == null) { BasicEnvironment environment = getEnvironment(); if (environment != null) { formatter = environment.getFormatter(); } if (formatter == null) { formatter = AbstractFormattingHelper.INSTANCE; } } return formatter; }