docs: def set_field(self, state, field_name, field_type, value):
          """
          Sets an instance field.
          """
          field_ref = SimSootValue_InstanceFieldRef.get_ref(state=state,
                                                            obj_alloc_id=self.heap_alloc_id,
                                                            field_class_name=self.type,
                                                            field_name=field_name,
                                                            field_type=field_type)
          # store value in java memory
          state.memory.store(field_ref, value)