def get_infer_commands(self, verbose_output):
    javac_pattern = '[javac]'
    argument_start_pattern = 'Compilation arguments'
    calls = []
    javac_arguments = []
    collect = False
    for line in verbose_output:
        if (javac_pattern in line):
            if (argument_start_pattern in line):
                collect = True
                if (javac_arguments != []):
                    capture = jwlib.create_infer_command(self.args, javac_arguments)
                    calls.append(capture)
                    javac_arguments = []
            if collect:
                pos = (line.index(javac_pattern) + len(javac_pattern))
                content = line[pos:].strip()
                if self.is_interesting(content):
                    arg = self.remove_quotes(content)
                    javac_arguments.append(arg)
    if (javac_arguments != []):
        capture = jwlib.create_infer_command(self.args, javac_arguments)
        calls.append(capture)
        javac_arguments = []
    return calls
def get_infer_commands(self, verbose_output):
    javac_pattern = '[javac]'
    argument_start_pattern = 'Compilation arguments'
    calls = []
    javac_arguments = []
    collect = False
    for line in verbose_output:
        if (javac_pattern in line):
            if (argument_start_pattern in line):
                collect = True
                if (javac_arguments != []):
                    capture = jwlib.create_infer_command(self.args, javac_arguments)
                    calls.append(capture)
                    javac_arguments = []
            if collect:
                pos = (line.index(javac_pattern) + len(javac_pattern))
                content = line[pos:].strip()
                if self.is_interesting(content):
                    arg = self.remove_quotes(content)
                    javac_arguments.append(arg)
    if (javac_arguments != []):
        capture = jwlib.create_infer_command(self.args, javac_arguments)
        calls.append(capture)
        javac_arguments = []
    return calls