private final ModelType<T> elementType;
public ModelSetModelViewFactory(ModelType<T> elementType) {
this.elementType = elementType;
}
@Override
<BUG>public ModelView<ModelSet<T>> toView(MutableModelNode modelNode, ModelRuleDescriptor ruleDescriptor, boolean writable) {
</BUG>
ModelType<ModelSet<T>> setType = ModelTypes.modelSet(elementType);
<BUG>DefaultModelViewState state = new DefaultModelViewState(modelNode.getPath(), setType, ruleDescriptor, writable, !writable);
</BUG>
ChildNodeInitializerStrategy<T> childStrategy = Cast.uncheckedCast(modelNode.getPrivateData(ChildNodeInitializerStrategy.class));

private final ModelType<T> elementType;
public ModelSetModelViewFactory(ModelType<T> elementType) {
this.elementType = elementType;
}
@Override
public ModelView<ModelSet<T>> toView(MutableModelNode modelNode, ModelRuleDescriptor ruleDescriptor, boolean mutable) {
ModelType<ModelSet<T>> setType = ModelTypes.modelSet(elementType);
DefaultModelViewState state = new DefaultModelViewState(modelNode.getPath(), setType, ruleDescriptor, mutable, !mutable);
ChildNodeInitializerStrategy<T> childStrategy = Cast.uncheckedCast(modelNode.getPrivateData(ChildNodeInitializerStrategy.class));
