METHOD_0 ( ) { org . apache . avro . Schema . IDENT_0 parser = new org . apache . avro . Schema . METHOD_1 ( ) ; org . apache . avro . Schema schema = parser . parse ( org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 ) ; org . apache . avro . io . IDENT_6 IDENT_7 ; org . apache . avro . io . IDENT_8 factory = new org . apache . avro . io . METHOD_2 ( ) ; org . apache . avro . IDENT_9 . IDENT_10 . IDENT_11 IDENT_12 = new org . apache . avro . IDENT_9 . IDENT_10 . METHOD_3 ( schema ) ; org . apache . avro . IDENT_9 . IDENT_13 reader = new org . apache . avro . IDENT_9 . METHOD_4 ( schema ) ; org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_14 . IDENT_15 field = new org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_14 . METHOD_5 ( ) ; field . IDENT_16 = "test" ; field . IDENT_17 = STRING_0 ; field . IDENT_18 = org . pentaho . di . core . row . IDENT_19 . METHOD_6 ( IDENT_20 . IDENT_21 ) ; for ( java . lang . String row : org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_22 ) { IDENT_7 = factory . METHOD_7 ( schema , row ) ; reader . read ( IDENT_12 , IDENT_7 ) ; field . init ( 0 ) ; field . METHOD_8 ( new org . pentaho . di . core . IDENT_23 . METHOD_9 ( ) ) ; java . lang . Object result = field . METHOD_10 ( IDENT_12 , schema , mock ( org . apache . avro . Schema . class ) , false ) ; "<AssertPlaceHolder>" ; } } METHOD_10 ( org . apache . avro . IDENT_9 . IDENT_24 , org . apache . avro . Schema , org . apache . avro . Schema , boolean ) { if ( record == null ) { return null ; } if ( ( IDENT_25 . size ( ) ) == 0 ) { throw new org . pentaho . di . core . exception . METHOD_11 ( org . pentaho . di . IDENT_26 . IDENT_27 . getString ( org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_14 . IDENT_28 , STRING_1 ) ) ; } java . lang . String IDENT_29 = IDENT_25 . remove ( 0 ) ; if ( ( IDENT_29 . charAt ( 0 ) ) == STRING_2 ) { throw new org . pentaho . di . core . exception . METHOD_11 ( ( ( org . pentaho . di . IDENT_26 . IDENT_27 . getString ( org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_14 . IDENT_28 , STRING_3 ) ) + ( IDENT_25 ) ) ) ; } if ( ( IDENT_29 . indexOf ( STRING_2 ) ) > 0 ) { java . lang . String IDENT_30 = IDENT_29 . substring ( IDENT_29 . indexOf ( STRING_2 ) ) ; IDENT_29 = IDENT_29 . substring ( 0 , IDENT_29 . indexOf ( STRING_2 ) ) ; IDENT_25 . add ( 0 , IDENT_30 ) ; } org . apache . avro . Schema . Field IDENT_31 = s . METHOD_12 ( IDENT_29 ) ; if ( ( IDENT_31 == null ) && ( ! IDENT_32 ) ) { throw new org . pentaho . di . core . exception . METHOD_11 ( org . pentaho . di . IDENT_26 . IDENT_27 . getString ( org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_14 . IDENT_28 , STRING_4 , IDENT_29 ) ) ; } java . lang . Object field = record . get ( IDENT_29 ) ; if ( field == null ) { IDENT_31 = IDENT_33 . METHOD_12 ( IDENT_29 ) ; if ( ( IDENT_31 == null ) || ( ( IDENT_31 . METHOD_13 ( ) ) == null ) ) { return null ; } field = IDENT_31 . METHOD_13 ( ) ; } org . apache . avro . Schema . Type IDENT_34 = IDENT_31 . schema ( ) . getType ( ) ; org . apache . avro . Schema IDENT_35 = IDENT_31 . schema ( ) ; if ( IDENT_34 == ( Schema . Type . IDENT_36 ) ) { if ( field instanceof org . apache . avro . IDENT_9 . IDENT_37 ) { IDENT_35 = ( ( org . apache . avro . IDENT_9 . IDENT_37 ) ( field ) ) . METHOD_14 ( ) ; IDENT_34 = IDENT_35 . getType ( ) ; } else { if ( field instanceof java . util . Map ) { org . apache . avro . Schema IDENT_38 = null ; for ( org . apache . avro . Schema IDENT_39 : IDENT_35 . METHOD_15 ( ) ) { if ( ( IDENT_39 . getType ( ) ) == ( Schema . Type . IDENT_40 ) ) { IDENT_38 = IDENT_39 ; break ; } } if ( IDENT_38 == null ) { throw new org . pentaho . di . core . exception . METHOD_11 ( org . pentaho . di . IDENT_26 . IDENT_27 . getString ( org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_14 . IDENT_28 , STRING_5 ) ) ; } IDENT_35 = IDENT_38 ; IDENT_34 = Schema . Type . IDENT_40 ; } else { if ( ( IDENT_41 . getType ( ) ) != ( org . pentaho . di . core . row . IDENT_20 . IDENT_21 ) ) { IDENT_35 = org . pentaho . di . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_42 . METHOD_16 ( IDENT_35 ) ; IDENT_34 = IDENT_35 . getType ( ) ; } else { IDENT_35 = org . apache . avro . Schema . create ( Schema . Type . IDENT_43 ) ; IDENT_34 = IDENT_35 . getType ( ) ; } } } } if ( IDENT_34 == ( Schema . Type . IDENT_44 ) ) { return METHOD_10 ( ( ( org . apache . avro . IDENT_9 . IDENT_10 . METHOD_3 ) ( field ) ) , IDENT_35 , IDENT_33 , IDENT_32 ) ; } else if ( IDENT_34 == ( Schema . Type . IDENT_45 ) ) { return METHOD_10 ( ( ( org . apache . avro . IDENT_9 . IDENT_10 . IDENT_46 ) ( field ) ) , IDENT_35 , IDENT_33 , IDENT_32 ) ; } else if ( IDENT_34 == ( Schema . Type . IDENT_40 ) ) { return METHOD_10 ( ( ( java . util . Map < org . apache . avro . util . IDENT_47 , java . lang . Object > ) ( field ) ) , IDENT_35 , IDENT_33 , IDENT_32 ) ; } else { return METHOD_17 ( field , IDENT_35 ) ; } }
org . junit . Assert . assertTrue ( ( result == null ) )