void () { @Language("JAVA") String classText = """ /** @noinspection ALL*/ public class SomeClass { public static void main(String[] args) { String s = null; s . trim(); } } """; List<Trinity<String, Integer, Integer>> traceAndPositions = Arrays.asList( Trinity.create("Exception in thread \"main\" java.lang.NullPointerException: Cannot invoke \"String.trim()\" because \"s\" is null\n", null, null), Trinity.create("\tat SomeClass.main(SomeClass.java:9)\n", 9, 0)); checkFindMethodHandler(classText, traceAndPositions); }