Returns the field list.
18417
public FieldList makeRecord()
    {
        // Make record from desc name
//x     FieldList fieldList = new org.jbundle.thin.tour.product.Continent(null);
//x     m_baseApplet.linkNewRemoteTable(null, fieldList);
//x     return fieldList;
        FieldList record = null;
        try   {
            Map<String,Object> properties = new Hashtable<String,Object>();
            properties.put("description", m_strDescription);
            if (m_objID != null)
                properties.put("id", m_objID);
            String strSubRecordName = this.getSubRecordClassName();
            if (strSubRecordName != null)
                properties.put("record", strSubRecordName);
            m_remoteSession.doRemoteAction("requery", properties);
            RemoteTable remoteTable = m_remoteSession.getRemoteTable(strSubRecordName);
            record = remoteTable.makeFieldList(null); // NO!
            new org.jbundle.thin.base.db.client.RemoteFieldTable(record, remoteTable, m_baseApplet);
        } catch (Exception ex)  {
            ex.printStackTrace();
        }
        return record;
    }
228751
public ArrayList<Field> getAllFields() {
        final ArrayList<Field> r = new ArrayList<Field>();
        final List<String> ids = new ArrayList<String>();
        if (getFields() != null) {
            for (Field field : getFields()) {
                r.add(field);
                ids.add(field.getId());
            }
        }
        if (getExtendzEntity() != null) {
            for (Field field : getExtendzEntity().getAllFields()) {
                if (!ids.contains(field.getId())) {
                    r.add(field);
                }
            }
        }
        return r;
    }
278828
def fields(self):
        
        return {k:getattr(self, k, None) for k in self.schema.fields}
331463
def get_fields(self):
        """"""
        fields = super(DataSerializer, self).get_fields()

        # Hide collections/entities fields on list views as fetching them may be expensive.
        if self.parent is not None:
            del fields['collections']
            del fields['entities']

        return fields
1040450
private Field[] fields(Class<?> clazz)
    {

        Map<String, Field> fields = new HashMap<String, Field>();
        do
        {
            for (Field field : clazz.getDeclaredFields())
            {
                if (!fields.containsKey(field.getName()))
                {
                    fields.put(field.getName(), field);
                }
            }
            clazz = clazz.getSuperclass();
        }
        while (clazz != Object.class);

        return fields.values().toArray(new Field[fields.size()]);

    }
784170
public JField []getDeclaredFields()
  {
    ArrayList<JavaField> fieldList = getFieldList();
    
    JField[] fields = new JField[fieldList.size()];

    fieldList.toArray(fields);

    return fields;
  }
274992
private void getFields(ArrayList<JField> fieldList)
  {
    for (JField field : getDeclaredFields()) {
      if (! fieldList.contains(field))
        fieldList.add(field);
    }

    if (getSuperClass() != null) {
      for (JField field : getSuperClass().getFields()) {
        if (! fieldList.contains(field))
          fieldList.add(field);
      }
    }
  }
883811
def _list_fields(self):
        
        opts = {'model': self.__proxy__, 'model_name': self.__name__}
        response = _turicreate.extensions._nearest_neighbors.list_fields(opts)

        return sorted(response.keys())
300625
public static Field[] getAllFields(Class<?> clz) {
    List<Field> list = new ArrayList<>();
    do {
      list.addAll(Arrays.asList(clz.getDeclaredFields()));
    } while ((clz = clz.getSuperclass()) != null);
    return list.toArray(new Field[list.size()]);
  }
454300
private List<Field> getAllFields(List<Field> fields, Class<?> clazz) {
    // TODO consider caching the results of this.
    checkNotNull(fields);
    checkNotNull(clazz);

    fields.addAll(Arrays.asList(clazz.getDeclaredFields()));

    if (clazz.getSuperclass() != null) {
      getAllFields(fields, clazz.getSuperclass());
    }

    return Collections.unmodifiableList(fields);
  }
1192650
def _fields_list_to_dict(fields):
    
    for key in fields:
        assert isinstance(key, (str,unicode))
    return dict([[key, 1] for key in fields])
1367655
public static Field[] getAllFields(Class<?> c) {
        List<Field> listOfFields = new ArrayList<Field>();
        getAllFields(c, listOfFields);

        Field[] arrayOffields = new Field[listOfFields.size()];
        listOfFields.toArray(arrayOffields);
        return arrayOffields;
    }
97155
def fields(self):
        '''
        
        '''
        return (
            self.locus, self.offset_start, self.offset_end, self.alignment_key)
45411
def fields(self):
        
        result = self._get_key_values('fields')
        for key, value in result.items():
            if not isinstance(value, list):
                result[key] = [value]

        for key, value in result.items():
            schema = get_schema_from_type(key)
            for obj in value:
                if obj not in schema._declared_fields:
                    raise InvalidField("{} has no attribute {}".format(schema.__name__, obj))

        return result
445462
public FieldInfo[] getFields() {
        FieldInfo[] fields = new FieldInfo[mFields.size()];
        return mFields.toArray(fields);
    }
840079
def fields(self):
        ''''''
        out = dict()
        for operator in self.ops:
            out.update(**operator.fields)

        return out
1087526
private List<Field> getFields(Class given) {
		Field[] fs = given.getDeclaredFields();
		return new ArrayList<>(Arrays.asList(fs));
	}