Community
Participate
Working Groups
If Organize imports is selected in Save Actions, then a static import is added in source import static java.lang.StringTemplate.STR; when StringTemplate STR is used - for example: final String name = "Bob"; System.out.println(STR."Hi \{name}"); But then the compiler complains about it: The import java.lang.StringTemplate.STR is never used