@Override
    public String getName() {
      if (myMode == ReplacementMode.OPTIONAL) {
        return CommonQuickFixBundle.message("fix.replace.with.x", "Optional.of");
      }
      return JavaBundle.message("simplify.stream.simple.stream.of.fix.name.use.stream.element.explicitly");
    }
@Override
    public String getName()