METHOD_0 ( ) { java . math . BigDecimal IDENT_0 = new java . math . BigDecimal ( STRING_0 ) ; org . talend . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = new org . talend . IDENT_1 . IDENT_2 . METHOD_1 ( org . talend . IDENT_1 . IDENT_2 . IDENT_5 . IDENT_6 ) ; org . talend . IDENT_1 . IDENT_2 . IDENT_7 IDENT_2 = new org . talend . IDENT_1 . IDENT_2 . METHOD_2 ( org . talend . IDENT_1 . IDENT_2 . IDENT_5 . IDENT_6 , IDENT_4 ) ; org . apache . avro . Schema . Field IDENT_8 = new org . apache . avro . Schema . Field ( STRING_1 , org . talend . IDENT_9 . avro . IDENT_10 . METHOD_3 ( ) , null , null ) ; java . lang . Object IDENT_11 = IDENT_2 . METHOD_4 ( STRING_0 , IDENT_8 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . Object , org . apache . avro . Schema . Field ) { if ( null == value ) { return null ; } org . apache . avro . Schema IDENT_12 = org . talend . IDENT_9 . avro . IDENT_10 . METHOD_5 ( IDENT_13 . schema ( ) ) ; org . apache . avro . IDENT_14 IDENT_15 = IDENT_12 . METHOD_6 ( ) ; if ( IDENT_15 != null ) { if ( IDENT_15 == ( org . apache . avro . IDENT_16 . date ( ) ) ) { java . time . IDENT_17 IDENT_18 = java . time . IDENT_17 . METHOD_7 ( ( ( java . lang . Integer ) ( value ) ) . METHOD_8 ( ) ) ; java . time . IDENT_19 IDENT_20 = IDENT_18 . METHOD_9 ( java . time . IDENT_21 . METHOD_10 ( ) ) ; return java . util . Date . from ( IDENT_20 . METHOD_11 ( ) ) ; } else if ( IDENT_15 == ( org . apache . avro . IDENT_16 . METHOD_12 ( ) ) ) { if ( org . talend . IDENT_1 . IDENT_22 . IDENT_23 . equals ( IDENT_13 . METHOD_13 ( org . talend . IDENT_1 . IDENT_22 . IDENT_24 ) ) ) { return new java . util . Date ( ( ( java . lang . Integer ) ( value ) ) ) ; } else { return value ; } } else if ( IDENT_15 == ( org . apache . avro . IDENT_16 . METHOD_14 ( ) ) ) { return new java . util . Date ( ( ( java . lang . Long ) ( value ) ) ) ; } } java . lang . String IDENT_25 = IDENT_13 . METHOD_13 ( org . talend . IDENT_1 . IDENT_22 . IDENT_26 ) ; java . lang . String IDENT_27 = IDENT_12 . METHOD_13 ( IDENT_28 . IDENT_29 ) ; if ( STRING_2 . equals ( IDENT_25 ) ) { return value instanceof java . lang . IDENT_30 ? ( ( java . lang . IDENT_30 ) ( value ) ) . METHOD_15 ( ) : java . lang . IDENT_31 . METHOD_16 ( java . lang . String . valueOf ( value ) ) ; } else if ( ( STRING_3 . equals ( IDENT_25 ) ) || ( STRING_4 . equals ( IDENT_27 ) ) ) { return value instanceof java . util . Date ? value : new java . util . Date ( ( ( java . lang . Long ) ( value ) ) ) ; } else if ( STRING_5 . equals ( IDENT_25 ) ) { return value instanceof java . lang . IDENT_30 ? ( ( java . lang . IDENT_30 ) ( value ) ) . METHOD_17 ( ) : java . lang . IDENT_32 . METHOD_18 ( java . lang . String . valueOf ( value ) ) ; } else if ( ( STRING_6 . equals ( IDENT_25 ) ) || ( STRING_7 . equals ( IDENT_27 ) ) ) { return value instanceof java . lang . IDENT_33 ? value : ( ( java . lang . String ) ( value ) ) . charAt ( 0 ) ; } else if ( ( STRING_8 . equals ( IDENT_25 ) ) || ( STRING_9 . equals ( IDENT_27 ) ) ) { return value instanceof java . math . BigDecimal ? value : new java . math . BigDecimal ( java . lang . String . valueOf ( value ) ) ; } return value ; }
org . junit . Assert . assertThat ( IDENT_11 , org . hamcrest . Matchers . equalTo ( ( ( java . lang . Object ) ( IDENT_0 ) ) ) )