def validate_combinations(self):
        validArguments, message = True, ""
        if (self.has_category()):
            if (self.all_modules() and self.has_module_restriction()):
                validArguments = False
                message = "--all option is not compatible with -m option."
            elif (self.has_only_restriction()):
                validArguments = False
                message = "Category is not compatible with -o option."
        elif (self.has_only_restriction() and (self.all_modules() or self.has_module_restriction())):
            validArguments = False
            message = "-o is not compatible with any other option."
        elif (self.all_tests() and (self.has_only_restriction() or self.has_module_restriction())):
            validArguments = False
            message = "when running all tests is not possible to apply restrictions."
        return validArguments, message
Generates java files.
dataset/ETHPy150Open owtf/owtf/tests/testing_framework/runner/parser.py/ArgumentParser.validate_combinations--crossover with--dataset/ETHPy150Open pdef/pdef/compiler/pdefc/__init__.py/generate_java