String (@NotNull UExpression expression, @NotNull UCallExpression methodCallExpression) { Object value = expression.evaluate(); if (!(value instanceof String relativePath)) { return null; } PsiMethod testMethod = UElementKt.getAsJavaPsiElement(UastUtils.getParentOfType(methodCallExpression, UMethod.class), PsiMethod.class); if (testMethod == null) { return null; } List<String> filePaths = TestDataNavigationHandler.fastGetTestDataPathsByRelativePath(relativePath, testMethod); if (filePaths.size() != 1) { return null; } return StringUtil.trimEnd(filePaths.get(0), relativePath); }