@Override
	public ListingField getField(ProxyObj<?> proxy, int varWidth) {
		Object obj = proxy.getObject();
		if (!enabled || !(obj instanceof Variable)) {
			return null;
		}
		Variable variable = (Variable) obj;

		DataType dt;
		if (variable instanceof Parameter) {
			dt = ((Parameter) variable).getFormalDataType();
		}
		else {
			dt = variable.getDataType();
		}
		String dtName = getDataTypeName(dt);
		AttributedString as =
			new AttributedString(dtName, getColor(variable), getMetrics(variable));
		FieldElement field = new TextFieldElement(as, 0, 0);
		return ListingTextField.createSingleLineTextField(this, proxy, field, startX + varWidth,
			width, hlProvider);
	}
@see ghidra.app.util.viewer.field.FieldFactory#getField(ProxyObj, int)
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/VariableTypeFieldFactory.java