void () { doTest( SIMPLIFY_FIX_NAME, java(""" import java.awt.Insets; import static com.intellij.util.ui.JBUI.insets; class TestClass { void any() { Insets myInsets = <warning descr="Insets creation can be simplified">in<caret>sets(0, 0, 0, 0)</warning>; } } """), java(""" import com.intellij.util.ui.JBUI; import java.awt.Insets; import static com.intellij.util.ui.JBUI.insets; class TestClass { void any() { Insets myInsets = JBUI.emptyInsets(); } } """) ); }