void (AntDomTypeDef typedef) { final List<String> errors = typedef.getErrorDescriptions(); if (!errors.isEmpty()) { @Nls final StringBuilder builder = new StringBuilder(); builder.append(AntBundle.message("failed.to.load.types")).append(":"); for (String error : errors) { builder.append("\n").append(error); } createAnnotationOnTag(typedef, builder.toString(), holder); } super.visitTypeDef(typedef); }