def METHOD_NAME(self):
    if not self.inputs:
        return
    args = self.find_genpybind() + self._arguments(
            resource_dir=self.env.GENPYBIND_RESOURCE_DIR)
    output = self.run_genpybind(args)
    # For debugging / log output
    pasteable_command = join_args(args)
    # write generated code to file in build directory
    # (will be compiled during process_source stage)
    (output_node,) = self.outputs
    output_node.write("// {}\n{}\n".format(
        pasteable_command.replace("\n", "\n// "), output))