void () { String line = "at mod.name/p.A.foo(A.java:2)\n"; assertParsed(line, "p.A", "foo", "A.java", 2); PsiClass psiClass = myFixture.addClass(""" package p; public class A { public void foo() {} }"""); ExceptionInfoCache cache = new ExceptionInfoCache(getProject(), GlobalSearchScope.projectScope(getProject())); ExceptionLineParser worker = ExceptionLineParserFactory.getInstance().create(cache); worker.execute(line, line.length()); UClass aClass = worker.getUClass(); assertNotNull(aClass); assertEquals(psiClass, aClass.getSourcePsi()); }