code: @Override
  	public List<TargetUsageItem> findUsageStatistics( String targetId ) {
  
  		// Get usage first
  		List<String> appNames;
  		synchronized( LOCK ) {
  			appNames = applicationsThatUse( targetId );
  		}
  
  		// Now, let's build the result
  		Set<TargetUsageItem> result = new HashSet<> ();
  		for( Map.Entry<InstanceContext,String> entry : this.instanceToCachedId.entrySet()) {
  			if( ! entry.getValue().equals( targetId ))
  				continue;
  
  			String appName = entry.getKey().getName();
  			TargetUsageItem item = new TargetUsageItem();
  
  			item.setName( appName );
  			item.setVersion( entry.getKey().getQualifier());
  			item.setReferencing( true );
  			item.setUsing( appNames.contains( appName ));
  
  			result.add( item );
  		}
  
  		return new ArrayList<>( result );
  	}
docs: Diagnostics