if (!bgmBuilder.model.options.contentForWildcard) {
return false;
}
XSType bt = ct.getBaseType();
if (bt ==schemas.getAnyType() && ct.getContentType() != null) {
XSParticle part = ct.getContentType().asParticle();
if ((part != null) && (part.getTerm().isModelGroup())) {
XSParticle[] parts = part.getTerm().asModelGroup().getChildren();
int wildcardCount = 0;
int i = 0;
while ((i < parts.length) && (wildcardCount <= 1)) {
if (parts[i].getTerm().isWildcard()) {
wildcardCount += 1;