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 ) ; }
To java .