void () { @Language("JAVA") String classText = """ /** @noinspection ALL*/ public class SomeClass { public static void main(String[] args) { int a = -1; Object[] arr = new String[1][a], arr2 = new String[] {"foo"}, arr3 = new String[(2)][1]; } }"""; List<Trinity<String, Integer, Integer>> traceAndPositions = Arrays.asList( Trinity.create("Exception in thread \"main\" java.lang.NegativeArraySizeException\n", null, null), Trinity.create("\tat SomeClass.main(SomeClass.java:5)\n", 5, 34)); checkColumnFinder(classText, traceAndPositions); }