void () { myFixture.configureByText("a.java", "\n\nclass Foo {\n {\n <caret>\n }\n}\n"); Template template = getTemplateManager().createTemplate("xxx", "user", "java.lang.Math.abs(java.lang.Math.PI);"); template.setValue(TemplateImpl.Property.USE_STATIC_IMPORT_IF_POSSIBLE, true); startTemplate(template); myFixture.checkResult( """ import static java.lang.Math.PI; import static java.lang.Math.abs; class Foo { { abs(PI);<caret> } } """); }