code: public static <D, J> J toJava(Class<? extends PreferenceTypeAdapter<J, D>> clazz, D value) {
  		@SuppressWarnings("unchecked")
  		PreferenceTypeAdapter<J, D> adapter = cache.get(clazz);
  
  		if (adapter == null) {
  			adapter = generateAdapter(clazz);
  		}
  
  		return adapter.toJava(value);
  	}
docs: To java.
  
  @param <D> the generic type
  @param <J> the generic type
  @param clazz the clazz
  @param value the value
  @return the j