public ArtifactInfo<BundleInfoContext> get(String symbolicName, VersionRange versionRange) {
        List<ArtifactInfo<BundleInfoContext>> list = artifacts.get(symbolicName);
        if (list != null && !list.isEmpty()) {
            for (ArtifactInfo<BundleInfoContext> bundleInfo : list) {
                if (versionRange.includes(bundleInfo.getVersion())) {
                    return bundleInfo;
                }
            }
        }
        return null;
    }
public ArtifactInfo < BundleInfoContext > get ( String symbolicName , VersionRange versionRange ) { List < ArtifactInfo < BundleInfoContext > > list = artifacts . get ( symbolicName ) ; if ( list != null && ! list . isEmpty ( ) ) { for ( ArtifactInfo < BundleInfoContext > bundleInfo : list ) { if ( versionRange . includes ( bundleInfo . getVersion ( ) ) ) { return bundleInfo ; } } } return null ; }
@param symbolicName
@param versionRange
@return the bundleinfo with the highest version that matches the given range