code: def get_object_tags(cls, javaobject, methodname):
          
          return Tags(jobject=javabridge.call(javaobject.jobject, methodname, "()[Lweka/core/Tag;"))
docs: Instantiates the Tag array obtained from the object using the specified method name.
  
          Example:
          cls = Classifier(classname="weka.classifiers.meta.MultiSearch")
          tags = Tags.get_object_tags(cls, "getMetricsTags")
  
          :param javaobject: the javaobject to obtain the tags from
          :type javaobject: JavaObject
          :param methodname: the method name returning the Tag array
          :type methodname: str
          :return: the Tags objects
          :rtype: Tags