}
public void model(Closure<?> modelRules) {
if (TransformedModelDslBacking.isTransformedBlock(modelRules)) {
ClosureBackedAction.execute(new TransformedModelDslBacking(getModelRegistry(), modelRules.getOwner(), modelRules.getThisObject()), modelRules);
} else {
new NonTransformedModelDslBacking(getModelRegistry()).configure(modelRules);
}
}