Fix call to String.{startsWith,endsWith} helpers by generating expressions