void () { @Language("JAVA") String classText = """ //special line //special line //special line //special line //special line //special line /** @noinspection ALL*/ public class SomeClass { public static void main(String[] args) { Object[] arr = new String[1]; arr[0] = 1; } }"""; List<Trinity<String, Integer, Integer>> traceAndPositions = Arrays.asList( Trinity.create("Exception in thread \"main\" java.lang.ArrayStoreException: java.lang.Integer\n", null, null), Trinity.create("\tat SomeClass.main(SomeClass.java:6)\n", 5 + 6, 12), Trinity.create("\tat SomeClass.unknown(SomeClass.java:1)\n", null, null), Trinity.create("\tat SomeClass.unknown(SomeClass.java:2)\n", null, null)); checkFindMethodHandler(classText, traceAndPositions); }