@Override
      public @NotNull Collection<PsiFileSystemItem> getDefaultContexts() {
        if (startsWithSlash || !directory.isValid()) {
          return super.getDefaultContexts();
        }
        return Collections.singletonList(directory);
      }
@Override
      public @NotNull Collection<PsiFileSystemItem> getDefaultContexts()