void () { doTest(""" import org.slf4j.*; class X { void foo() { Logger logger = LoggerFactory.getLogger(X.class); final String CONST = "const"; String var = "var"; logger./*Non-constant string concatenation as argument to 'debug()' logging call*/debug/**/("string " + var + CONST); } }""" ); }