Path { public static boolean isExperienceFragmentPath(@NotNull String path) { return EXPERIENCE_FRAGMENTS_PATTERN.matcher(path).matches(); } private  Path(); static String getAbsoluteParent(@NotNull String path, int parentLevel, @NotNull ResourceResolver resourceResolver); @SuppressWarnings("null") static Page getAbsoluteParent(@NotNull Page page, int parentLevel, @NotNull ResourceResolver resourceResolver); static int getAbsoluteLevel(@NotNull String path, @NotNull ResourceResolver resourceResolver); static String getOriginalPath(@NotNull String path, @NotNull ResourceResolver resourceResolver); static boolean isExperienceFragmentPath(@NotNull String path); static boolean isEditableTemplatePath(@NotNull String path);  }
@Test void testIsExperienceFragmentPath() { assertTrue(Path.isExperienceFragmentPath("/content/experience-fragments/xf1")); assertTrue(Path.isExperienceFragmentPath("/content/experience-fragments/level1/level2/xf2")); assertFalse(Path.isExperienceFragmentPath("/content/experience-fragments")); assertFalse(Path.isExperienceFragmentPath("/content/other-path")); }