ResolvingElementQuickFix (final String newName, final Class<? extends DomElement> clazz, final List<? extends DomElement> parents) { final DomCollectionChildDescription childDescription = getChildDescription(parents, clazz); if (newName.length() > 0 && childDescription != null) { return new ResolvingElementQuickFix(clazz, newName, parents, childDescription); } return null; }