METHOD_0 ( ) { java . lang . String type = STRING_0 + STRING_1 ; org . apache . avro . Schema schema = org . apache . hadoop . hive . IDENT_0 . avro . IDENT_1 . METHOD_1 ( type ) ; java . lang . String field = ( STRING_2 + schema ) + STRING_3 ; for ( org . apache . hadoop . hive . IDENT_0 . avro . IDENT_2 . IDENT_3 e : org . apache . hadoop . hive . IDENT_0 . avro . IDENT_2 . IDENT_3 . values ( ) ) { org . apache . avro . IDENT_4 . IDENT_5 IDENT_6 = new org . apache . avro . IDENT_4 . IDENT_7 . METHOD_2 ( schema , e . toString ( ) ) ; org . apache . avro . IDENT_4 . IDENT_8 r = METHOD_3 ( field , STRING_4 , IDENT_6 ) ; "<AssertPlaceHolder>" ; } } valueOf ( java . lang . String ) { org . apache . hadoop . hive . common . type . IDENT_9 result = null ; if ( IDENT_10 == null ) { throw new java . lang . IllegalArgumentException ( STRING_5 ) ; } java . util . regex . IDENT_11 IDENT_12 = org . apache . hadoop . hive . common . type . IDENT_9 . IDENT_13 . get ( ) ; IDENT_12 . METHOD_4 ( IDENT_10 ) ; if ( IDENT_12 . matches ( ) ) { try { int IDENT_14 = 1 ; java . lang . String field = IDENT_12 . group ( 1 ) ; if ( ( field != null ) && ( field . equals ( STRING_6 ) ) ) { IDENT_14 = - 1 ; } int IDENT_15 = IDENT_14 * ( org . apache . hive . common . util . IDENT_16 . METHOD_5 ( STRING_7 , IDENT_12 . group ( 2 ) , 0 , Integer . MAX_VALUE ) ) ; byte IDENT_17 = ( ( byte ) ( IDENT_14 * ( org . apache . hive . common . util . IDENT_16 . METHOD_5 ( STRING_8 , IDENT_12 . group ( 3 ) , 0 , INT_0 ) ) ) ) ; result = new org . apache . hadoop . hive . common . type . METHOD_6 ( IDENT_15 , IDENT_17 ) ; } catch ( java . lang . Exception err ) { throw new java . lang . IllegalArgumentException ( ( STRING_9 + IDENT_10 ) , err ) ; } } else { throw new java . lang . IllegalArgumentException ( ( STRING_10 + IDENT_10 ) ) ; } return result ; }
org . junit . Assert . assertEquals ( e , org . apache . hadoop . hive . IDENT_0 . avro . IDENT_2 . IDENT_3 . valueOf ( r . get ( STRING_4 ) . toString ( ) ) )