@FeatureNew('dep.as_system', '0.52.0')
@permittedKwargs({})
def as_system_method(self, args, kwargs):
    args = listify(args)
    new_is_system = 'system'
    if (len(args) > 1):
        raise InterpreterException('as_system takes only one optional value')
    if (len(args) == 1):
        new_is_system = args[0]
    new_dep = self.held_object.generate_system_dependency(new_is_system)
    return DependencyHolder(new_dep, self.subproject)
@FeatureNew('dep.as_system', '0.52.0')
@permittedKwargs({})
def as_system_method(self, args, kwargs):
    args = listify(args)
    new_is_system = 'system'
    if (len(args) > 1):
        raise InterpreterException('as_system takes only one optional value')
    if (len(args) == 1):
        new_is_system = args[0]
    new_dep = self.held_object.generate_system_dependency(new_is_system)
    return DependencyHolder(new_dep, self.subproject)