def show_xref(self, c_a):
if c_a:<EOL><INDENT>ref_kind_map = {<NUM_LIT:0>: "<STR_LIT>", <NUM_LIT:1>: "<STR_LIT>"}<EOL>bytecode._PrintSubBanner("<STR_LIT>")<EOL>xrefs_from = c_a.get_xref_from()<EOL>for ref_class in xrefs_from:<EOL><INDENT>if ref_class.get_vm_class().get_name() == self.get_name():<EOL><INDENT>continue<EOL><DEDENT>for ref_kind, ref_method, ref_offset in xrefs_from[ref_class]:<EOL><INDENT>bytecode._PrintDefault(ref_kind_map[ref_kind])<EOL>bytecode._PrintDefault('<STR_LIT:U+0020>')<EOL>bytecode._PrintDefault(ref_method.get_name())<EOL>bytecode._PrintDefault('<STR_LIT>' % ref_offset)<EOL>bytecode._PrintDefault('<STR_LIT:\n>')<EOL><DEDENT><DEDENT>bytecode._PrintDefault('<STR_LIT:\n>')<EOL>bytecode._PrintSubBanner("<STR_LIT>")<EOL>xrefs_to = c_a.get_xref_to()<EOL>for ref_class in xrefs_to:<EOL><INDENT>if ref_class.get_vm_class().get_name() == self.get_name():<EOL><INDENT>continue<EOL><DEDENT>bytecode._PrintDefault(ref_class.get_vm_class().get_name())<EOL>bytecode._PrintDefault('<STR_LIT>')<EOL>for ref_kind, ref_method, ref_offset in xrefs_to[ref_class]:<EOL><INDENT>bytecode._PrintDefault(ref_kind_map[ref_kind])<EOL>bytecode._PrintDefault('<STR_LIT:U+0020>')<EOL>bytecode._PrintDefault(ref_method.get_name())<EOL>bytecode._PrintDefault('<STR_LIT>' % ref_offset)<EOL>bytecode._PrintDefault('<STR_LIT:\n>')<EOL><DEDENT><DEDENT><DEDENT>
Display where the method is called or which method is called