code: public boolean accept(ReleaseId releaseId) {
          if (releaseId == null) {
              throw new IllegalArgumentException("ReleaseId can not be null!");
          }
          return matches(groupId, releaseId.getGroupId()) &&
                  matches(artifactId, releaseId.getArtifactId()) &&
                  matches(version, releaseId.getVersion());
      }
docs: Checks whether the specified releaseId matches (is accepted by) this filter.
  @param releaseId releaseId to match against
  @return true if this filter accepts the specified releaseId, otherwise false