code: def selected_attributes(self):
          
          array = javabridge.call(self.jobject, "selectedAttributes", "()[I")
          if array is None:
              return None
          else:
              return javabridge.get_env().get_int_array_elements(array)
docs: Returns the selected attributes from the last run.
  
          :return: the Numpy array of 0-based indices
          :rtype: ndarray