METHOD_0 ( ) { class IDENT_0 extends IDENT_1 . IDENT_2 . annotation . IDENT_3 . IDENT_4 { @ org . apache . IDENT_5 . config . Field ( IDENT_6 = true ) java . lang . String config ; } java . util . Map < java . lang . String , org . apache . IDENT_5 . config . IDENT_7 > params = new java . util . HashMap ( ) ; java . lang . String IDENT_8 = STRING_0 ; params . put ( STRING_1 , new org . apache . IDENT_5 . config . METHOD_1 ( STRING_1 , IDENT_8 ) ) ; try { IDENT_0 bean = new METHOD_2 ( ) ; org . apache . IDENT_5 . utils . IDENT_9 . METHOD_3 ( bean , params ) ; "<AssertPlaceHolder>" ; } catch ( org . apache . IDENT_5 . exception . IDENT_10 e ) { e . printStackTrace ( ) ; org . junit . Assert . fail ( STRING_2 ) ; } params . METHOD_4 ( ) ; try { org . apache . IDENT_5 . utils . IDENT_9 . METHOD_3 ( new METHOD_2 ( ) , params ) ; org . junit . Assert . fail ( STRING_3 ) ; } catch ( org . apache . IDENT_5 . exception . IDENT_10 e ) { } } METHOD_3 ( java . lang . Object , java . util . Map ) { java . lang . Class < ? > IDENT_11 = bean . getClass ( ) ; if ( ! ( org . apache . IDENT_5 . utils . IDENT_9 . IDENT_12 . containsKey ( IDENT_11 ) ) ) { MOD_0 ( org . apache . IDENT_5 . config . IDENT_13 . class ) { if ( ! ( org . apache . IDENT_5 . utils . IDENT_9 . IDENT_12 . containsKey ( IDENT_11 ) ) ) { java . util . List < java . lang . reflect . IDENT_14 > IDENT_15 = org . apache . IDENT_5 . utils . IDENT_9 . METHOD_5 ( IDENT_11 , org . apache . IDENT_5 . config . Field . class ) ; java . util . List < org . apache . IDENT_5 . config . IDENT_16 > fields = new java . util . ArrayList ( IDENT_15 . size ( ) ) ; for ( java . lang . reflect . IDENT_14 IDENT_17 : IDENT_15 ) { fields . add ( new org . apache . IDENT_5 . config . METHOD_6 ( IDENT_17 ) ) ; } org . apache . IDENT_5 . utils . IDENT_9 . IDENT_12 . put ( IDENT_11 , fields ) ; } } } java . util . List < org . apache . IDENT_5 . config . METHOD_6 > fields = org . apache . IDENT_5 . utils . IDENT_9 . IDENT_12 . get ( IDENT_11 ) ; java . util . Set < java . lang . String > IDENT_18 = new java . util . HashSet ( ) ; for ( org . apache . IDENT_5 . config . METHOD_6 field : fields ) { IDENT_18 . add ( field . getName ( ) ) ; org . apache . IDENT_5 . config . METHOD_1 < ? > param = params . get ( field . getName ( ) ) ; if ( param != null ) { if ( field . getType ( ) . METHOD_7 ( param . getType ( ) ) ) { try { field . METHOD_8 ( bean , param . getValue ( ) ) ; } catch ( java . lang . Exception e ) { throw new org . apache . IDENT_5 . exception . METHOD_9 ( e . getMessage ( ) , e ) ; } } else { java . lang . String msg = java . lang . String . format ( Locale . IDENT_19 , ( STRING_4 + STRING_5 ) , param . getValue ( ) , param . getValue ( ) . getClass ( ) , field . getName ( ) , field . getType ( ) ) ; throw new org . apache . IDENT_5 . exception . METHOD_9 ( msg ) ; } } else if ( field . METHOD_10 ( ) ) { java . lang . String msg = java . lang . String . format ( Locale . IDENT_19 , ( STRING_6 + STRING_7 ) , field . getName ( ) , bean . getClass ( ) . getName ( ) ) ; throw new org . apache . IDENT_5 . exception . METHOD_9 ( msg ) ; } else { } } }
org . junit . Assert . assertEquals ( bean . config , IDENT_8 )