static ClassScanner of(ClassScanner delegate) {
    if (delegate instanceof PrecachedClassScanner) {
      return delegate;
    }

    return new PrecachedClassScanner(delegate);
  }
Fetches all members during construction, returning cached view afterwards.
criteria/common/src/org/immutables/criteria/reflect/PrecachedClassScanner.java