METHOD_0 ( ) { final org . IDENT_0 . common . util . test . IDENT_1 . IDENT_2 a = org . IDENT_0 . common . util . test . IDENT_1 . IDENT_2 . IDENT_3 ; final java . lang . String IDENT_4 = org . IDENT_0 . common . util . IDENT_5 . convert ( a , java . lang . String . class ) ; final org . IDENT_0 . common . util . test . IDENT_1 . IDENT_2 IDENT_6 = org . IDENT_0 . common . util . IDENT_5 . convert ( IDENT_4 , org . IDENT_0 . common . util . test . IDENT_1 . IDENT_2 . class ) ; "<AssertPlaceHolder>" ; } convert ( java . lang . Object , java . lang . Class ) { org . IDENT_0 . common . util . IDENT_7 . METHOD_1 ( STRING_0 , IDENT_8 ) ; org . IDENT_0 . common . util . IDENT_7 . METHOD_2 ( ( STRING_1 + ( IDENT_8 . getName ( ) ) ) , ( ( org . IDENT_0 . common . util . IDENT_5 . IDENT_9 . containsKey ( IDENT_8 ) ) || ( IDENT_8 . METHOD_3 ( ) ) ) ) ; if ( IDENT_10 == null ) { return null ; } try { if ( IDENT_8 . METHOD_3 ( ) ) { final java . lang . String IDENT_11 = IDENT_10 . toString ( ) ; final java . lang . reflect . Field [ ] IDENT_12 = IDENT_8 . METHOD_4 ( ) ; for ( final java . lang . reflect . Field f : IDENT_12 ) { if ( f . METHOD_5 ( ) ) { if ( f . getName ( ) . equals ( IDENT_11 ) ) { final java . lang . Object value = f . get ( null ) ; return ( ( IDENT_13 ) ( value ) ) ; } } } throw new java . lang . IllegalStateException ( java . text . IDENT_14 . format ( STRING_2 , IDENT_11 , IDENT_8 ) ) ; } final org . apache . commons . IDENT_15 . IDENT_16 converter = org . IDENT_0 . common . util . IDENT_5 . IDENT_9 . get ( IDENT_8 ) ; final IDENT_13 IDENT_17 = ( ( IDENT_13 ) ( converter . convert ( IDENT_8 , IDENT_10 ) ) ) ; return IDENT_17 ; } catch ( final java . lang . Exception e ) { throw org . IDENT_0 . common . util . IDENT_18 . METHOD_6 ( e , org . IDENT_0 . common . exception . IDENT_19 . class ) ; } }
org . junit . Assert . assertThat ( a , org . hamcrest . core . Is . is ( IDENT_6 ) )