def handle_block_comment(self, token_text):
    lines = token_text.replace('\r', '').split('\n')
    javadoc = False
    self.append_newline(preserve_statement_flags=True)
    if (len(lines) > 1):
        if (not any((l for l in lines[1:] if ((l.strip() == '') or (l.lstrip()[0] != '*'))))):
            javadoc = True
    self.append_token(lines[0])
    for line in lines[1:]:
        self.append_newline(preserve_statement_flags=True)
        if javadoc:
            self.append_token((' ' + line.strip()))
        else:
            self.output_lines[(- 1)].text.append(line)
    self.append_newline(preserve_statement_flags=True)
def handle_block_comment(self, token_text):
    lines = token_text.replace('\r', ).split('\n')
    javadoc = False
    self.append_newline(preserve_statement_flags=True)
    if (len(lines) > 1):
        if (not any((l for l in lines[1:] if ((l.strip() == ) or (l.lstrip()[0] != '*'))))):
            javadoc = True
    self.append_token(lines[0])
    for line in lines[1:]:
        self.append_newline(preserve_statement_flags=True)
        if javadoc:
            self.append_token((' ' + line.strip()))
        else:
            self.output_lines[(- 1)].text.append(line)
    self.append_newline(preserve_statement_flags=True)