예제 #1
0
 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);
 }
예제 #2
0
 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);
 }