public <T> Address getAddressOfStructure(T structureInstance) {
		StructureMappingInfo<T> smi =
			structureInstance != null ? getStructureMappingInfo(structureInstance) : null;
		StructureContext<T> structureContext =
			smi != null ? smi.recoverStructureContext(structureInstance) : null;
		return structureContext != null ? structureContext.getStructureAddress() : null;
	}
Attempts to convert an instance of an object (that represents a chunk of memory in
the program) into its Address.

@param <T> type of the object
@param structureInstance instance of an object that represents something in the program's
memory
@return {@link Address} of the object, or null if not found or not a supported object
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/DataTypeMapper.java