void (@NotNull CachedValueProvider<?> provider, @NotNull Key<?> key, @NotNull UserDataHolder userDataHolder) { if (!DO_CHECKS || ApplicationManagerEx.isInStressTest()) { return; } if (!ourCheckedKeys.add(key.toString())) { return; // store strings because keys are created afresh in each (test) project } findReferencedPsi(provider, key, userDataHolder); }