void () { doMemberTest(InspectionGadgetsBundle.message("remove.modifier.quickfix", "final"), """ public java.util.function.Function foo(int number) { final/**/ int localNumber = number * 2; return (int i) -> localNumber + i; } """, """ public java.util.function.Function foo(int number) { int localNumber = number * 2; return (int i) -> localNumber + i; } """ ); }