public PointerType getType(Settings settings) {
		if (settings == null) {
			return PointerType.DEFAULT;
		}
		Long value = settings.getLong(POINTER_TYPE_SETTINGS_NAME);
		if (value == null) {
			return PointerType.DEFAULT;
		}
		int type = (int) value.longValue();
		try {
			return PointerType.valueOf(type);
		}
		catch (NoSuchElementException e) {
			return PointerType.DEFAULT;
		}
	}
Returns the format based on the specified settings
@param settings the instance settings or null for default value.
@return the {@link PointerType}.  {@link PointerType#DEFAULT} will be returned
if no setting has been made.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/PointerTypeSettingsDefinition.java