code: @Override
    public boolean contains(IVersion version)
    {
      // This will match both SemanticVersion and FlexibleSemanticVersion
      if (version instanceof SemanticVersion) {
        return expression.interpret(((SemanticVersion) version).getVersionImpl());
      }
      throw new IllegalArgumentException("Semantic ranges expect semantic versions");
    }
docs: /*
  (non-Javadoc)
  @see net.ossindex.version.IVersionRange#contains(net.ossindex.version.IVersion)