void () { // noinspection BigDecimalLegacyMethod doTest("import java.math.BigDecimal;" + "class X {" + " static void foo(BigDecimal value) {" + " value = value./*'BigDecimal.setScale()' called without a rounding mode argument*/setScale/**/(2);" + " System.out.println(value.setScale(2, 1));" + " }" + "}"); }