/** Adds a map of attributes, (String name, String value), to the annotation. */ private void addAttributes(Map<String, String[]> attrs) { if (attrs != null) for (Map.Entry<String, String[]> me : attrs.entrySet()) addAttribute(me.getKey(), me.getValue()); }