void () { @Language("JAVA") String classText = """ /** @noinspection ALL*/ public class MainTest { public static void main(String[] args) { String s = getString().trim(); } private static String getString() { return Math.random() > 0.5 ? "foo" : null; } }"""; List<Trinity<String, Integer, Integer>> traceAndPositions = Arrays.asList( Trinity.create("java.lang.NullPointerException\n", null, null), Trinity.create("\tat MainTest.main(MainTest.java:4)\n", 4, 20)); checkColumnFinder(classText, traceAndPositions); }