void () { @Language("JAVA") String classText = """ //special line //special line //special line //special line //special line //special line /** @noinspection ALL*/ public class SomeClass { static final int x = 0; static{ staticT(x); } private static int staticT(int x) { return 1 / x; } public static void main(String[] args) { new SomeClass(); } } """; List<Trinity<String, Integer, Integer>> traceAndPositions = Arrays.asList( Trinity.create("Caused by: java.lang.ArithmeticException: / by zero\n", null, null), Trinity.create("\tat SomeClass.staticT(SomeClass.java:7)\n", 7 + 7, 20), Trinity.create("\tat SomeClass.<clinit>(SomeClass.java:4)\n", 4 + 7, 9)); checkFindMethodHandler(classText, traceAndPositions); }