# Path: androguard/gui/helpers.py
# class Signature:
#     def __init__(self, cls, method=None, descriptor=None):
#         self.cls = cls
#         self.class_components = str(self.cls.name).strip('L').strip(';').split('/')
#         self.class_path = self.class_components[:-1]
#         self.class_name = self.class_components[-1]
#         self.full_class_name = self.cls.name
#         self.method = method
#         self.descriptor = descriptor


from PyQt5 import QtWidgets
from androguard.gui.helpers import Signature
from androguard.gui.xrefwindow import XrefDialogClass
import logging
                path_node[0][path] = ({}, HashableQTreeWidgetItem(path_node[1]))

                class_name = sig.class_name

                if idx > 0:
                    class_name += "@%d" % idx

                c.current_title = class_name
                self._reverse_cache[path_node[0][path][1]] = (c, filename,
                                                              digest)

                path_node[0][path][1].setText(0, class_name)

    def itemDoubleClickedHandler(self, item, column):
        log.debug("item %s has been double clicked at column %s" %
                        (str(item), str(column)))
        if item.childCount() != 0:
            self.mainwin.showStatus("Sources not available.")
            return

        current_class, current_filename, current_digest = self._reverse_cache[
            item
        ]
        self.mainwin.openBinWindow(current_class)

    def createActions(self):
        self.xrefAct = QtWidgets.QAction(
            "Xref from/to",
            self,
            statusTip="List the references where this element is used",

# Path: androguard/gui/helpers.py
# class Signature:
#     def __init__(self, cls, method=None, descriptor=None):
#         self.cls = cls
#         self.class_components = str(self.cls.name).strip('L').strip(';').split('/')
#         self.class_path = self.class_components[:-1]
#         self.class_name = self.class_components[-1]
#         self.full_class_name = self.cls.name
#         self.method = method
#         self.descriptor = descriptor


# Path: androguard/gui/treewindow.py
from PyQt5 import QtWidgets
from androguard.gui.helpers import Signature
from androguard.gui.xrefwindow import XrefDialogClass
import logging

                path_node[0][path] = ({}, HashableQTreeWidgetItem(path_node[1]))

                class_name = sig.class_name

                if idx > 0:
                    class_name += "@%d" % idx

                c.current_title = class_name
                self._reverse_cache[path_node[0][path][1]] = (c, filename,
                                                              digest)

                path_node[0][path][1].setText(0, class_name)

    def itemDoubleClickedHandler(self, item, column):
        log.debug("item %s has been double clicked at column %s" %
                        (str(item), str(column)))
        if item.childCount() != 0:
            self.mainwin.showStatus("Sources not available.")
            return

        current_class, current_filename, current_digest = self._reverse_cache[
            item
        ]
        self.mainwin.openBinWindow(current_class)

    def createActions(self):
        self.xrefAct = QtWidgets.QAction(
            "Xref from/to",
            self,
            statusTip="List the references where this element is used",

            triggered=self.actionXref)