String (String subPath) { // path logic taken from intellij.regexp tests final String def = PluginPathManager.getPluginHomePath("xpath") + "/xpath-lang/testData"; return System.getProperty("idea.xpath.testdata-path", def) + "/" + subPath; }