public boolean matches(@NotNull FilePath targetPath, @Nullable Hash targetRevision) {
    return myPath.equals(targetPath) && Objects.equals(myRevision, targetRevision);
  }
public boolean matches(@NotNull FilePath targetPath, @Nullable Hash targetRevision)