void (List<? super ResolveSnapshotProvider.ResolveSnapshot> snapshots, @NotNull ResolveSnapshotProvider resolveSnapshotProvider, UsageInfo[] usages, ChangeInfo changeInfo) { snapshots.add(resolveSnapshotProvider.createSnapshot(changeInfo.getMethod())); for (UsageInfo usage : usages) { if (usage instanceof OverriderUsageInfo) { snapshots.add(resolveSnapshotProvider.createSnapshot(((OverriderUsageInfo)usage).getOverridingMethod())); } } }