List<String> () { List<String> list = new ArrayList<>(); for (String tagName : ADDITIONAL) { final Map<Substring, Substring> map = myArgTagValues.get(tagName); if (map != null) { list.add(tagName); } } return list; }