void () { @Language("JAVA") String classText = """ /** @noinspection ALL*/ class Test { public static void main(String[] args) { Object x = null; synchronized (x) { System.out.println(x.hashCode()); } } }"""; List<Trinity<String, Integer, Integer>> traceAndPositions = Arrays.asList( Trinity.create("Exception in thread \"main\" java.lang.NullPointerException: Cannot enter synchronized block because \"x\" is null\n", null, null), Trinity.create("\tat Test.main(Test.java:5)\n", 5, 19)); checkColumnFinder(classText, traceAndPositions); }