void () { quickFixTest(""" import org.intellij.lang.annotations.Pattern; class X { @Pattern("[0-9]+") public static String createValue(int i) { return 123 + String.value<caret>Of(i); } } """, """ import org.intellij.lang.annotations.Pattern; class X { @Pattern("[0-9]+") public static String createValue(int i) { String s = String.valueOf(i); return 123 + s; } } """, "Introduce variable"); }