code: @SuppressWarnings("unchecked")
    private void configureViaSettersDirect(HeapCache<K,V> c) {
      if (config.getLoader() != null) {
        Object obj =  c.createCustomization(config.getLoader());
        if (obj instanceof CacheLoader) {
          final CacheLoader<K,V> _loader = (CacheLoader) obj;
          c.setAdvancedLoader(new AdvancedCacheLoader<K, V>() {
            @Override
            public V load(final K key, final long currentTime, final CacheEntry<K, V> currentEntry) throws Exception {
              return _loader.load(key);
            }
          });
        } else {
          final FunctionalCacheLoader<K,V> _loader = (FunctionalCacheLoader) obj;
          c.setAdvancedLoader(new AdvancedCacheLoader<K, V>() {
            @Override
            public V load(final K key, final long currentTime, final CacheEntry<K, V> currentEntry) throws Exception {
              return _loader.load(key);
            }
          });
        }
      }
      if (config.getAdvancedLoader() != null) {
        final AdvancedCacheLoader<K,V> _loader = c.createCustomization(config.getAdvancedLoader());
        AdvancedCacheLoader<K,V> _wrappedLoader = new WrappedAdvancedCacheLoader<K, V>(c, _loader);
        c.setAdvancedLoader(_wrappedLoader);
      }
      if (config.getExceptionPropagator() != null) {
        c.setExceptionPropagator(c.createCustomization(config.getExceptionPropagator()));
      }
      c.setCacheConfig(config);
    }
docs: The generic wiring code is not working on android.
  Explicitly call the wiring methods.