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 { for (int i = 0; i <= MAX_LOOKUP_DEPTH; i++) { lookupAllKeysStarted(INDEX_ID); } } finally {//unwind stack back to not affect other tests: for (int i = 0; i <= MAX_LOOKUP_DEPTH; i++) { TRACE_OF_ALL_KEYS_LOOKUP.get().lookupFinished(); } } }