Iterable<LocalQuickFix> (List<QualifiedName> qualifiedNames) { List<LocalQuickFix> result = new ArrayList<>(2); if (qualifiedNames.size() == 1) { final QualifiedName qualifiedName = qualifiedNames.get(0); result.add(new AddIgnoredIdentifierQuickFix(qualifiedName, false)); if (qualifiedName.getComponentCount() > 1) { result.add(new AddIgnoredIdentifierQuickFix(qualifiedName.removeLastComponent(), true)); } } return result; }