/** * @return the string used to format messages categorized as errors. */ private String getErrorFormat() { return getMessage(ERROR_FORMAT_ID); }
/** * @return the string used to format messages categorized as warnings. */ private String getWarningFormat() { return getMessage(WARNING_FORMAT_ID); }
/** * @return the string used to format messages categorized as syntax errors. */ private String getSyntaxErrorFormat() { return getMessage(SYNTAXERROR_FORMAT_ID); }
/** * @return the string used to format messages categorized as warnings. */ private String getWarningFormat() { return getMessage(WARNING_FORMAT_ID); }
/** * @return the string used to format messages categorized as syntax errors. */ private String getSyntaxErrorFormat() { return getMessage(SYNTAXERROR_FORMAT_ID); }
/** * @return the string used to format messages categorized as internal errors. */ private String getInternalErrorFormat() { return getMessage(INTERNALERROR_FORMAT_ID); }
/** * @return the string used to format messages categorized as errors. */ private String getErrorFormat() { return getMessage(ERROR_FORMAT_ID); }
/** * @return the string used to format messages categorized as internal errors. */ private String getInternalErrorFormat() { return getMessage(INTERNALERROR_FORMAT_ID); }
/** * Format of the line number the problem was found. * Example) foo:7 * The problem was found on line 7 of foo. * * @return the string used to format line number of the problem in a file. */ private String getLocationFormat() { String format = getMessage(LOCATION_FORMAT_ID); if (format != null) return format; return LOCATION_FORMAT_STRING; } }
/** * Format of the line number the problem was found. * Example) foo:7 * The problem was found on line 7 of foo. * * @return the string used to format line number of the problem in a file. */ private String getLocationFormat() { String format = getMessage(LOCATION_FORMAT_ID); if (format != null) return format; return LOCATION_FORMAT_STRING; } }