code: def summary(self, title=None, complexity=False):
          
          if title is None:
              return javabridge.call(
                  self.jobject, "toSummaryString", "()Ljava/lang/String;")
          else:
              return javabridge.call(
                  self.jobject, "toSummaryString", "(Ljava/lang/String;Z)Ljava/lang/String;", title, complexity)
docs: Generates a summary.
  
          :param title: optional title
          :type title: str
          :param complexity: whether to print the complexity information as well
          :type complexity: bool
          :return: the summary
          :rtype: str