}
}
public Object resolve() {
Form form = formService.getForm();
Group group = form.getGroup(groupName, groupInstanceKey);
boolean valid = isValidatedAndValid(form);
if (fc == null) {
skipModuleExecutionIfNecessary(valid, group);
return group;
} else {
skipModuleExecutionIfNecessary(valid, null);
if (valid) {
Object object = newInstance(fc);
group.setProperties(object);
return object;
} else {
return null;
}
}