@permittedKwargs({'prefix', 'args', 'dependencies'})
def alignment_method(self, args, kwargs):
    if (len(args) != 1):
        raise InterpreterException('Alignment method takes exactly one positional argument.')
    check_stringlist(args)
    typename = args[0]
    prefix = kwargs.get('prefix', '')
    if (not isinstance(prefix, str)):
        raise InterpreterException('Prefix argument of alignment must be a string.')
    extra_args = mesonlib.stringlistify(kwargs.get('args', []))
    (deps, msg) = self.determine_dependencies(kwargs)
    result = self.compiler.alignment(typename, prefix, self.environment, extra_args=extra_args, dependencies=deps)
    mlog.log('Checking for alignment of', mlog.bold(typename, True), msg, result)
    return result
@permittedKwargs({'prefix', 'args', 'dependencies'})
def alignment_method(self, args, kwargs):
    if (len(args) != 1):
        raise InterpreterException('Alignment method takes exactly one positional argument.')
    check_stringlist(args)
    typename = args[0]
    prefix = kwargs.get('prefix', )
    if (not isinstance(prefix, str)):
        raise InterpreterException('Prefix argument of alignment must be a string.')
    extra_args = mesonlib.stringlistify(kwargs.get('args', []))
    (deps, msg) = self.determine_dependencies(kwargs)
    result = self.compiler.alignment(typename, prefix, self.environment, extra_args=extra_args, dependencies=deps)
    mlog.log('Checking for alignment of', mlog.bold(typename, True), msg, result)
    return result