LocalQuickFix[] (final ConvertContext context) { final DomElement element = context.getInvocationElement(); final GenericDomValue value = element.createStableCopy(); final String newName = value.getStringValue(); if (newName == null) return LocalQuickFix.EMPTY_ARRAY; final DomElement scope = value.getManager().getResolvingScope(value); return ResolvingElementQuickFix.createFixes(newName, myClass, scope); }