public static long getPointerBitMask(TypeDef pointerTypeDef) {
		return pointerTypeDef.isPointer()
				? OffsetMaskSettingsDefinition.DEF.getValue(pointerTypeDef.getDefaultSettings())
				: 0;
	}
Determine the pointer bit-mask for the specified pointerTypeDef based upon
its default settings. If specified, bit-mask will be AND-ed with stored 
offset prior to any specified bit-shift.
@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