// set name needed for this structure (as either value or class)
if (name != null) {
if (group.getClassName() == null) {
NameConverter conv = group.getComponentExtension().getGlobal().getNameConverter();
group.setClassName(conv.toJavaClassName(name));
}
if (group.getName() == null) {
group.setName(NameUtils.toNameLead(assembleName(prefix, name)));
}
}