content: package com.sast.astbenchmark.case_language_maturity.completeness.single_app_tracing.function_call.higher_order_function;
  
  import org.springframework.web.bind.annotation.PostMapping;
  import org.springframework.web.bind.annotation.RequestMapping;
  import org.springframework.web.bind.annotation.RequestParam;
  import org.springframework.web.bind.annotation.RestController;
  
  import java.io.IOException;
  import java.util.function.Consumer;
  
  
  // evaluation information start
  // real case = false
  // evaluation item = 完整度->单应用跟踪完整度->函数和方法调用->高阶函数
  // scene introduction = 
  // level = 2
  // bind_url = completeness/single_app_tracing/function_call/higher_order_function/higher_order_function_002_F
  // evaluation information end
  @RestController()
  @RequestMapping("completeness/single_app_tracing/function_call/higher_order_function")
  public class higher_order_function_002_F {
      public static void applyConsumer(Consumer<String> consumer, String message) {
          consumer.accept(message);
      }
  
      @PostMapping(value = "higher_order_function_002_F")
      public void higher_order_function_002_F(@RequestParam String __taint_src) {
          applyConsumer(higher_order_function_002_F::__safe, __taint_src);
      }
  
      private static void __taint_sink(Object o) {
          try {
              Runtime.getRuntime().exec(String.valueOf(o));
          } catch (IOException e) {
          }
      }
  
      private static void __safe(Object o) {
      }
  
  }
  
  