}
private void addCommonMessage(CommonMessage.Type type, List<CommonMessage> messages, String abbr, String detail) {
switch (type) {
case Error:
messages.add(new ErrorMessage(abbr, detail));
break;
case Warn:
messages.add(new WarnMessage(abbr, detail));
break;
case Info: