Bug 393214: extract common indexed ClassFinder code