code: def parameters(self, params):
          
          array = JavaArray(jobject=JavaArray.new_instance("weka.core.setupgenerator.AbstractParameter", len(params)))
          for idx, obj in enumerate(params):
              array[idx] = obj.jobject
          javabridge.call(self.jobject, "setParameters", "([Lweka/core/setupgenerator/AbstractParameter;)V", array.jobject)
docs: Sets the list of search parameters to use.
  
          :param params: list of AbstractSearchParameter objects
          :type params: list