public static PointerType getPointerType(TypeDef pointerTypeDef) {
		return pointerTypeDef.isPointer()
				? PointerTypeSettingsDefinition.DEF.getType(pointerTypeDef.getDefaultSettings())
				: null;
	}
Get the pointer type (see {@link PointerType}).
@param pointerTypeDef Pointer TypeDef
@return pointer type or null if not a pointer
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/PointerTypedefInspector.java