code: def base_object(self, obj):
          
          if not obj.is_serializable:
              raise Exception("Base object must be serializable: " + obj.classname)
          javabridge.call(self.jobject, "setBaseObject", "(Ljava/io/Serializable;)V", obj.jobject)
docs: Sets the base object to apply the setups to.
  
          :param obj: the object to use (must be serializable!)
          :type obj: JavaObject