public static long getPointerBitShift(TypeDef pointerTypeDef) {
		return pointerTypeDef.isPointer()
				? OffsetShiftSettingsDefinition.DEF.getValue(pointerTypeDef.getDefaultSettings())
				: 0;
	}
Determine the pointer bit-shift for the specified pointerTypeDef based upon
its default settings. A right-shift is specified by a positive value while
a left-shift is specified by a negative value.
If specified, bit-shift will be applied after applying any specified bit-mask.
@param pointerTypeDef Pointer TypeDef
@return pointer bit-shift or 0 if unspecified or not applicable
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/PointerTypedefInspector.java