public FieldModelNode( Name identifier, ModelAttribute[] attributes, Modifiers modifiers, Type type, Value initialValue, boolean enumeration) { super(fieldId(identifier, type), true); init(identifier, attributes, modifiers, type, initialValue, enumeration); }
public FieldModelNode(SimpleField field) { super(fieldId(field.getName(), field.getType()), true); delegate = field; init( field.getName(), field.getAttributes(), field.getModifiers(), field.getType(), field.getInitialValue(), false); }