METHOD_0 ( ) { org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_2 [ ] IDENT_3 = new org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_2 [ ] { org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( STRING_0 ) , org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( STRING_1 ) , org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( STRING_2 ) , org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( STRING_3 ) , org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( STRING_4 ) , org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( STRING_5 ) , org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_1 ( STRING_6 ) } ; org . apache . avro . Schema IDENT_5 = org . apache . nifi . util . IDENT_6 . IDENT_7 . METHOD_2 ( ) ; java . util . List < org . apache . avro . Schema . Field > fields = IDENT_5 . METHOD_3 ( ) ; for ( int i = 0 ; i < ( fields . size ( ) ) ; i ++ ) { "<AssertPlaceHolder>" ; } } METHOD_4 ( org . apache . avro . Schema ) { org . apache . avro . Schema . Type IDENT_8 = IDENT_9 . getType ( ) ; switch ( IDENT_8 ) { case IDENT_10 : case IDENT_11 : case IDENT_12 : case IDENT_13 : case IDENT_14 : case IDENT_15 : case IDENT_16 : case IDENT_17 : return org . apache . hadoop . hive . IDENT_18 . io . IDENT_6 . IDENT_19 . METHOD_5 ( IDENT_8 ) ; case IDENT_20 : java . util . List < org . apache . avro . Schema > IDENT_21 = IDENT_9 . METHOD_6 ( ) ; if ( IDENT_21 != null ) { java . util . List < org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_2 > IDENT_22 = IDENT_21 . stream ( ) . filter ( ( IDENT_23 ) -> ! ( Schema . Type . IDENT_17 . equals ( IDENT_23 . getType ( ) ) ) ) . map ( org . apache . hadoop . hive . IDENT_18 . io . IDENT_6 . IDENT_19 :: METHOD_4 ) . collect ( java . util . stream . IDENT_24 . toList ( ) ) ; if ( ( IDENT_22 . size ( ) ) == 1 ) { return IDENT_22 . get ( 0 ) ; } else { return org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_7 ( IDENT_22 ) ; } } return null ; case IDENT_25 : return org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_8 ( org . apache . hadoop . hive . IDENT_18 . io . IDENT_6 . IDENT_19 . METHOD_4 ( IDENT_9 . METHOD_9 ( ) ) ) ; case IDENT_26 : return org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_10 ( org . apache . hadoop . hive . IDENT_18 . io . IDENT_6 . IDENT_19 . METHOD_5 ( Schema . Type . IDENT_16 ) , org . apache . hadoop . hive . IDENT_18 . io . IDENT_6 . IDENT_19 . METHOD_4 ( IDENT_9 . METHOD_11 ( ) ) ) ; case IDENT_27 : java . util . List < org . apache . avro . Schema . Field > IDENT_28 = IDENT_9 . METHOD_3 ( ) ; if ( IDENT_28 != null ) { java . util . List < java . lang . String > IDENT_29 = new java . util . ArrayList ( IDENT_28 . size ( ) ) ; java . util . List < org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_2 > IDENT_22 = new java . util . ArrayList ( IDENT_28 . size ( ) ) ; IDENT_28 . METHOD_12 ( ( IDENT_30 ) -> { java . lang . String IDENT_31 = IDENT_30 . name ( ) ; IDENT_29 . add ( IDENT_31 ) ; IDENT_22 . add ( METHOD_4 ( IDENT_30 . schema ( ) ) ) ; } ) ; return org . apache . hadoop . hive . IDENT_0 . IDENT_1 . IDENT_4 . METHOD_13 ( IDENT_29 , IDENT_22 ) ; } return null ; case IDENT_32 : return org . apache . hadoop . hive . IDENT_18 . io . IDENT_6 . IDENT_19 . METHOD_5 ( Schema . Type . IDENT_16 ) ; default : throw new java . lang . IllegalArgumentException ( ( STRING_7 + ( IDENT_8 . getName ( ) ) ) ) ; } }
org . junit . Assert . assertEquals ( IDENT_3 [ i ] , org . apache . hadoop . hive . IDENT_18 . io . IDENT_6 . IDENT_19 . METHOD_4 ( fields . get ( i ) . schema ( ) ) )