//--create a java name for an anonymous group
if (result == null
&& _annotated != null
&& (_annotated.getStructureType() == Structure.GROUP
|| _annotated.getStructureType() == Structure.MODELGROUP)) {
GroupNaming groupNaming = getGroupNaming();
result = groupNaming.createClassName((Group) _annotated, getJavaPackage());
if (result == null) {
String err = "Unable to create name for group.";
throw new IllegalStateException(err);
}
}