Returns the specified type information for the given field name.

@param fieldName the name of the field
161572
public Optional<TypeInformation<?>> getFieldType(String fieldName) {
		if (fieldNameToIndex.containsKey(fieldName)) {
			return Optional.of(fieldTypes[fieldNameToIndex.get(fieldName)]);
		}
		return Optional.empty();
	}
1029784
public static Field getField(Class<?> type,String fieldName)
    {
        Field field=null;
        try
        {
            //get field
            field=type.getDeclaredField(fieldName);
        }
        catch(Exception exception)
        {
            throw new FaxException("Unable to extract field: "+fieldName+" from type: "+type,exception);
        }

        //set accessible
        field.setAccessible(true);

        return field;
    }
566358
public static <T> List<T> getFieldValues(Iterable<?> collection, final String fieldName, final Class<T> elementType) {
		List<Object> fieldValues = getFieldValues(collection, fieldName);
		return Convert.toList(elementType, fieldValues);
	}
347515
@Override
    public Map<String, FieldTypes> get(final Collection<String> fieldNames) {
        return get(fieldNames, ImmutableSet.of());
    }
566733
final D6ModelClassFieldInfo getFieldInfo(String columnName) {
		final D6ModelClassFieldInfo fieldInfo = mColumnNameFieldInfoMap
				.get(columnName);
		return fieldInfo;
	}
666744
public int getIndexOfField(String fieldName) {
		List<String> fnms = this.getFieldNames();
		for (int i = 0; i < fnms.size(); i++) {
			if (fnms.get(i).equals(fieldName))
				return i;
		}
		return -1;
	}
1080525
public FieldInfo getFieldInfo(final String fieldName) {
        for(FieldInfo item : fieldInfos) {
            if(item.getFieldName().equals(fieldName)) {
                return item;
            }
        }
        
        return null;
    }
368445
public CmsResourceTypeBean getTypeInfo(String typeName) {

        CmsResourceTypeBean result = null;
        for (CmsResourceTypeBean typeBean : m_dialogBean.getTypes()) {
            if (typeBean.getType().equals(typeName)) {
                result = typeBean;
                break;
            }
        }
        return result;
    }
365040
public static Field getField(final Class cls, final String fieldName) {
		return getField(cls, fieldName, false);
	}
182736
public Object get(String fieldName) throws IOException {
    Object value = getValueMarshaller(fieldName).getJavaObject(struct);
    LOG.debug("Fetched {}={}", fieldName, value);
    return value;
  }
440558
public <T> T getField(String fieldName, Class<T> clazz) {
        return DPathUtils.getValue(fieldData, fieldName, clazz);
    }
755507
public Field getField(String name) {
    if (fieldMap == null) {
      return null;
    }
    return fieldMap.get(name);
  }
881767
public static String getFieldValue(ODocument document, String fieldname) {
        return (String) document.field(fieldname);
    }
1130407
public function getTypeOfField($fieldName)
    {
        return isset($this->fieldMappings[$fieldName]) ?
                $this->fieldMappings[$fieldName]['type'] : null;
    }
426303
public <T> FieldFormatter<T> findFieldFormatter(final String field, final Class<T> fieldType) {
        String fieldPath = buildFieldPath(field);
        return fieldFormatterRegistry.findFormatter(fieldPath, fieldType);
    }
552919
public DOField getFieldByName(String fieldName) {
		int idx = this.getIndexOfField(fieldName);
		if (idx != -1)
			return this.getFieldByIndex(idx);
		return null;
	}
333508
public Class<?> getActualFieldType(final String field) {
        
        final Object fieldValue = getFieldValue(field);
        return fieldValue == null ? null : fieldValue.getClass();
        
    }