@Override
	public ListingField getField(ProxyObj<?> proxy, int varWidth) {
		Object obj = proxy.getObject();
		if (!enabled || !(obj instanceof CodeUnit)) {
			return null;
		}
		FieldElement fieldElement = new TextFieldElement(
			new AttributedString(getOffsetValue((CodeUnit) obj), COLOR, getMetrics()), 0, 0);
		ListingTextField listingTextField = ListingTextField.createSingleLineTextField(this, proxy,
			fieldElement, startX + varWidth, width, hlProvider);
		listingTextField.setPrimary(true);
		return listingTextField;
	}
Gets the {@link OffsetFieldType offset type}

@return the {@link OffsetFieldType offset type}
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/AbstractOffsetFieldFactory.java