<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def do_string(self, parent=None, ident=0):
 """ Handles a TC_STRING opcode :param parent: :param ident: Log indentation level :return: A string """

        log_debug("[string]", ident)
        ba = JavaString(self._readString())
        self._add_reference(ba, ident)
        return ba