void () { assumeFalse("Check only if !THROW_ON_INCORRECT_USAGE", IndexLookupTimingsReporting.THROW_ON_INCORRECT_USAGE); //check for 'allKeys' only because all them have same superclass try (var trace = TRACE_OF_ALL_KEYS_LOOKUP.get()) { trace.withProject(null); trace.withProject(null); trace.indexValidationFinished(); trace.totalKeysIndexed(10); trace.lookupFailed(); trace.lookupFinished(); } }