@NotNull @Override protected JarHandler getHandler(@NotNull VirtualFile entryFile) { return VfsImplUtil.getHandler(this, entryFile, new Function<String, JarHandler>() { @Override public JarHandler fun(String localPath) { return new JarHandler(localPath); } }); }
private void markFlatDirsDirty(Iterable<String> dirtyPaths) { for (String dirtyPath : dirtyPaths) { Pair<NewVirtualFile, NewVirtualFile> pair = VfsImplUtil.findCachedFileByPath(this, dirtyPath); if (pair.first != null) { pair.first.markDirty(); for (VirtualFile child : pair.first.getCachedChildren()) { ((NewVirtualFile)child).markDirty(); } } else if (pair.second != null) { pair.second.markDirty(); } } }
private void markRecursiveDirsDirty(Iterable<String> dirtyPaths) { for (String dirtyPath : dirtyPaths) { Pair<NewVirtualFile, NewVirtualFile> pair = VfsImplUtil.findCachedFileByPath(this, dirtyPath); if (pair.first != null) { pair.first.markDirtyRecursively(); } else if (pair.second != null) { pair.second.markDirty(); } } }
@Override public VirtualFile findFileByPath(@NotNull @NonNls String path) { return VfsImplUtil.findFileByPath(this, path); }
@Override public VirtualFile findFileByPathIfCached(@NotNull @NonNls String path) { return VfsImplUtil.findFileByPathIfCached(this, path); }
@Override public VirtualFile refreshAndFindFileByPath(@NotNull String path) { return VfsImplUtil.refreshAndFindFileByPath(this, path); }
@Override public VirtualFile findFileByPath(@NotNull String path) { return VfsImplUtil.findFileByPath(this, path); }
@Override public VirtualFile findFileByPathIfCached(@NotNull String path) { return VfsImplUtil.findFileByPathIfCached(this, path); }
@Override public void refresh(boolean asynchronous) { VfsImplUtil.refresh(this, asynchronous); }
@Override @Nullable public VirtualFile findFileByPath(@NotNull String path) { return VfsImplUtil.findFileByPath(this, path); }
@Override @Nullable public VirtualFile refreshAndFindFileByPath(@NotNull String path) { return VfsImplUtil.refreshAndFindFileByPath(this, path); }
@Nonnull @Override protected JarHandler getHandler(@Nonnull VirtualFile entryFile) { return VfsImplUtil.getHandler(this, entryFile, JarHandler::new); }
@Override public VirtualFile findFileByPath(@Nonnull String path) { return VfsImplUtil.findFileByPath(this, path); }
@Override public VirtualFile findFileByPathIfCached(@Nonnull String path) { return VfsImplUtil.findFileByPathIfCached(this, path); }
@Override public VirtualFile refreshAndFindFileByPath(@Nonnull String path) { return VfsImplUtil.refreshAndFindFileByPath(this, path); }
@Override public VirtualFile findFileByPath(@Nonnull @NonNls String path) { return VfsImplUtil.findFileByPath(this, path); }
@Override public VirtualFile findFileByPathIfCached(@Nonnull @NonNls String path) { return VfsImplUtil.findFileByPathIfCached(this, path); }
@Override @Nullable public VirtualFile findFileByPath(@Nonnull String path) { return VfsImplUtil.findFileByPath(this, path); }
@Override @Nullable public VirtualFile refreshAndFindFileByPath(@Nonnull String path) { return VfsImplUtil.refreshAndFindFileByPath(this, path); }