use of com.intellij.internal.statistic.beans.PatchedUsage in project intellij-community by JetBrains.
the class StatisticsUploadAssistantTest method createPatchDescriptor.
private static void createPatchDescriptor(Map<GroupDescriptor, Set<PatchedUsage>> patchedUsages, String groupId, double priority, String key, int i) {
final GroupDescriptor groupDescriptor = GroupDescriptor.create(groupId, priority);
if (!patchedUsages.containsKey(groupDescriptor)) {
patchedUsages.put(groupDescriptor, new LinkedHashSet<>());
}
patchedUsages.get(groupDescriptor).add(new PatchedUsage(key, i));
}
Aggregations