def METHOD_NAME(self, frame, filename, with_args=True):
    try:
        _, modulename, funcname = self.file_module_function_of(frame)
        signature = Signature(filename, funcname)
        if with_args:
            signature.set_args(frame, recursive=True)
        return signature
    except:
        pydev_log.exception()