// "Replace with lambda" "true-preview"

import java.util.function.Consumer;

class A {
  void anonymousToLambda(String s) {
    String s2 = "";
    Consumer<String> consumer = new Consu<caret>mer<String>() {
      @Override
      public void accept(final String s) {
        String s1 = "";
      }
    };
  }
}