code: public void addField(String scope, String type, String name, String defaultValue) {
          fields.put(name, new FieldCode(scope, name, type, defaultValue));
      }
docs: Adds the field.
  
  @param scope the scope
  @param type the type
  @param name the name
  @param defaultValue the default value