@Override
    public boolean contains(int fileId) {
      return myVirtualFile instanceof VirtualFileWithId && ((VirtualFileWithId)myVirtualFile).getId() == fileId;
    }
@Override
    public boolean contains(int fileId)