METHOD_0 ( ) { org . openmrs . module . IDENT_0 . rest . web . IDENT_1 . IDENT_2 i = new org . openmrs . module . IDENT_0 . rest . web . IDENT_1 . METHOD_1 ( ) ; java . lang . reflect . Method IDENT_3 = org . apache . commons . IDENT_4 . IDENT_5 . METHOD_2 ( i , "value" ) . METHOD_3 ( ) ; java . lang . reflect . Type type = org . openmrs . module . IDENT_0 . rest . web . IDENT_6 . METHOD_4 ( org . openmrs . module . IDENT_0 . rest . web . IDENT_1 . IDENT_7 . class , ( ( java . lang . reflect . IDENT_8 < ? > ) ( IDENT_3 . METHOD_5 ( ) [ 0 ] ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . Class , java . lang . reflect . IDENT_8 ) { if ( IDENT_9 == null ) { throw new java . lang . IllegalArgumentException ( STRING_0 ) ; } if ( IDENT_10 == null ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } java . lang . String IDENT_11 = IDENT_10 . getName ( ) ; java . lang . reflect . Type type = IDENT_9 ; java . lang . reflect . Type result = org . openmrs . module . IDENT_0 . rest . web . IDENT_6 . IDENT_12 . get ( IDENT_9 . getName ( ) . METHOD_6 ( IDENT_11 ) ) ; while ( ( ( result == null ) && ( type != null ) ) && ( ! ( type . equals ( java . lang . Object . class ) ) ) ) { if ( type instanceof java . lang . Class ) { type = ( ( java . lang . Class ) ( type ) ) . METHOD_7 ( ) ; } else { java . lang . reflect . IDENT_13 IDENT_14 = ( ( java . lang . reflect . IDENT_13 ) ( type ) ) ; java . lang . Class < ? > IDENT_15 = ( ( java . lang . Class ) ( IDENT_14 . METHOD_8 ( ) ) ) ; java . lang . reflect . Type [ ] IDENT_16 = IDENT_14 . METHOD_9 ( ) ; java . lang . reflect . IDENT_8 < ? > [ ] IDENT_17 = IDENT_15 . METHOD_10 ( ) ; for ( int i = 0 ; i < ( IDENT_16 . length ) ; i ++ ) { java . lang . String name = IDENT_17 [ i ] . getName ( ) ; java . lang . reflect . Type IDENT_18 = IDENT_16 [ i ] ; org . openmrs . module . IDENT_0 . rest . web . IDENT_6 . IDENT_12 . put ( IDENT_9 . getName ( ) . METHOD_6 ( name ) , IDENT_18 ) ; if ( name . equals ( IDENT_11 ) ) { result = IDENT_18 ; break ; } } type = IDENT_15 . METHOD_7 ( ) ; } } return result ; }
org . junit . Assert . assertNull ( type )