throw new IllegalStateException("Don't know how to create model element at '" + path + "'");
}
doCreate(node, creator);
node.setState(ModelNode.State.Created);
}
<BUG>if (node.getState() == ModelNode.State.Created) {
fireMutations(node, path, mutators.removeAll(new MutationKey(path, MutationType.Mutate)), usedMutators);
node.setState(ModelNode.State.Mutated);
}
if (node.getState() == ModelNode.State.Mutated) {</BUG>
fireMutations(node, path, mutators.removeAll(new MutationKey(path, MutationType.Finalize)), usedMutators);

throw new IllegalStateException("Don't know how to create model element at '" + path + "'");
}
doCreate(node, creator);
node.setState(ModelNode.State.Created);
}
if (node.getState() == ModelNode.State.Created) {
fireMutations(node, path, mutators.removeAll(new MutationKey(path, MutationType.Defaults)), usedMutators);
fireMutations(node, path, mutators.removeAll(new MutationKey(path, MutationType.Initialize)), usedMutators);
fireMutations(node, path, mutators.removeAll(new MutationKey(path, MutationType.Mutate)), usedMutators);
fireMutations(node, path, mutators.removeAll(new MutationKey(path, MutationType.Finalize)), usedMutators);
