def class_details(self, title=None):
        """
        Generates the class details.

        :param title: optional title
        :type title: str
        :return: the details
        :rtype: str
        """
        if title is None:
            return javabridge.call(
                self.jobject, "toClassDetailsString", "()Ljava/lang/String;")
        else:
            return javabridge.call(
                self.jobject, "toClassDetailsString", "(Ljava/lang/String;)Ljava/lang/String;", title)
Generates the class details.

        :param title: optional title
        :type title: str
        :return: the details
        :rtype: str