METHOD_0 ( ) { io . cdap . cdap . IDENT_0 . common . IDENT_1 IDENT_2 = io . cdap . cdap . IDENT_0 . common . IDENT_1 . builder ( IDENT_3 ) . METHOD_1 ( io . cdap . cdap . IDENT_0 . IDENT_4 . v2 . spec . IDENT_5 . builder ( STRING_0 , io . cdap . cdap . IDENT_0 . IDENT_6 . IDENT_7 . METHOD_2 ( STRING_0 , Constants . IDENT_8 . IDENT_9 ) ) . build ( ) ) . METHOD_1 ( io . cdap . cdap . IDENT_0 . IDENT_4 . v2 . spec . IDENT_5 . builder ( STRING_1 , io . cdap . cdap . IDENT_0 . IDENT_6 . IDENT_7 . IDENT_10 ) . build ( ) ) . METHOD_3 ( STRING_0 , STRING_1 ) . build ( ) ; IDENT_11 = new io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_4 ( com . google . common . collect . IDENT_12 . of ( new io . cdap . cdap . IDENT_0 . IDENT_4 . METHOD_5 ( STRING_2 , STRING_1 ) ) ) ; java . lang . String IDENT_13 = io . cdap . cdap . IDENT_0 . IDENT_6 . IDENT_14 . METHOD_6 ( IDENT_11 ) ; IDENT_15 . put ( IDENT_13 , IDENT_2 ) ; java . util . Set < io . cdap . cdap . IDENT_0 . IDENT_4 . METHOD_5 > IDENT_16 = new java . util . HashSet ( ) ; IDENT_16 . add ( new io . cdap . cdap . IDENT_0 . IDENT_4 . METHOD_5 ( IDENT_17 , IDENT_18 ) ) ; IDENT_16 . add ( new io . cdap . cdap . IDENT_0 . IDENT_4 . METHOD_5 ( IDENT_18 , IDENT_19 , true ) ) ; IDENT_16 . add ( new io . cdap . cdap . IDENT_0 . IDENT_4 . METHOD_5 ( IDENT_18 , IDENT_13 , false ) ) ; io . cdap . cdap . IDENT_0 . IDENT_6 . IDENT_20 expected = new io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_7 ( IDENT_15 , IDENT_16 ) ; io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_7 actual = IDENT_6 . plan ( IDENT_21 ) ; "<AssertPlaceHolder>" ; } plan ( io . cdap . cdap . IDENT_0 . IDENT_4 . v2 . spec . IDENT_22 ) { java . util . Set < java . lang . String > IDENT_23 = new java . util . HashSet ( ) ; java . util . Set < java . lang . String > IDENT_24 = new java . util . HashSet ( ) ; java . util . Set < java . lang . String > IDENT_25 = new java . util . HashSet ( ) ; java . util . Set < java . lang . String > IDENT_26 = new java . util . HashSet ( ) ; java . util . Set < java . lang . String > IDENT_27 = new java . util . HashSet ( ) ; java . util . Map < java . lang . String , io . cdap . cdap . IDENT_0 . IDENT_6 . IDENT_28 > IDENT_29 = new java . util . HashMap ( ) ; java . util . Map < java . lang . String , java . util . Set < java . lang . String > > IDENT_30 = new java . util . HashMap ( ) ; java . util . Map < java . lang . String , java . util . Set < java . lang . String > > IDENT_31 = new java . util . HashMap ( ) ; java . util . Map < java . lang . String , io . cdap . cdap . IDENT_0 . IDENT_4 . v2 . spec . IDENT_5 > IDENT_32 = new java . util . HashMap ( ) ; for ( io . cdap . cdap . IDENT_0 . IDENT_4 . v2 . spec . IDENT_5 IDENT_33 : spec . METHOD_8 ( ) ) { java . lang . String IDENT_34 = IDENT_33 . METHOD_9 ( ) . getType ( ) ; IDENT_27 . add ( IDENT_33 . getName ( ) ) ; if ( IDENT_35 . contains ( IDENT_34 ) ) { IDENT_23 . add ( IDENT_33 . getName ( ) ) ; } if ( IDENT_36 . contains ( IDENT_34 ) ) { IDENT_24 . add ( IDENT_33 . getName ( ) ) ; } if ( IDENT_37 . contains ( IDENT_34 ) ) { IDENT_25 . add ( IDENT_33 . getName ( ) ) ; } if ( IDENT_38 . contains ( IDENT_34 ) ) { IDENT_26 . add ( IDENT_33 . getName ( ) ) ; } if ( IDENT_39 . IDENT_40 . equals ( IDENT_34 ) ) { IDENT_29 . put ( IDENT_33 . getName ( ) , new io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_10 ( null , null ) ) ; IDENT_30 . put ( IDENT_33 . getName ( ) , new java . util . HashSet < java . lang . String > ( ) ) ; IDENT_31 . put ( IDENT_33 . getName ( ) , new java . util . HashSet < java . lang . String > ( ) ) ; } IDENT_32 . put ( IDENT_33 . getName ( ) , IDENT_33 ) ; } if ( spec . METHOD_11 ( ) . isEmpty ( ) ) { if ( ! ( IDENT_25 . METHOD_12 ( IDENT_27 ) ) ) { throw new java . lang . IllegalStateException ( STRING_3 ) ; } java . util . Map < java . lang . String , io . cdap . cdap . IDENT_0 . common . IDENT_1 > IDENT_15 = new java . util . HashMap ( ) ; for ( java . lang . String IDENT_41 : IDENT_25 ) { io . cdap . cdap . IDENT_0 . common . IDENT_1 . Builder IDENT_42 = io . cdap . cdap . IDENT_0 . common . IDENT_1 . builder ( IDENT_43 ) ; io . cdap . cdap . IDENT_0 . common . IDENT_1 IDENT_44 = IDENT_42 . METHOD_1 ( IDENT_32 . get ( IDENT_41 ) ) . build ( ) ; IDENT_15 . put ( IDENT_41 , IDENT_44 ) ; } return new io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_7 ( IDENT_15 , new java . util . HashSet < io . cdap . cdap . IDENT_0 . IDENT_4 . METHOD_5 > ( ) ) ; } java . util . Set < java . lang . String > IDENT_45 = com . google . common . collect . IDENT_46 . METHOD_13 ( IDENT_25 , IDENT_29 . METHOD_14 ( ) ) ; java . util . Map < java . lang . String , java . lang . String > IDENT_47 = new java . util . HashMap ( ) ; for ( io . cdap . cdap . IDENT_0 . IDENT_4 . METHOD_5 connection : spec . METHOD_11 ( ) ) { if ( IDENT_29 . containsKey ( connection . METHOD_15 ( ) ) ) { IDENT_30 . get ( connection . METHOD_15 ( ) ) . add ( connection . METHOD_16 ( ) ) ; } if ( IDENT_29 . containsKey ( connection . METHOD_16 ( ) ) ) { IDENT_31 . get ( connection . METHOD_16 ( ) ) . add ( connection . METHOD_15 ( ) ) ; } if ( IDENT_29 . containsKey ( connection . METHOD_15 ( ) ) ) { if ( IDENT_29 . containsKey ( connection . METHOD_16 ( ) ) ) { IDENT_47 . put ( connection . METHOD_16 ( ) , connection . METHOD_15 ( ) ) ; } io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_10 IDENT_48 = IDENT_29 . get ( connection . METHOD_15 ( ) ) ; java . lang . String IDENT_49 ; java . lang . String IDENT_50 ; if ( connection . METHOD_17 ( ) ) { IDENT_49 = connection . METHOD_16 ( ) ; IDENT_50 = IDENT_48 . METHOD_18 ( ) ; } else { IDENT_49 = IDENT_48 . METHOD_19 ( ) ; IDENT_50 = connection . METHOD_16 ( ) ; } IDENT_29 . put ( connection . METHOD_15 ( ) , new io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_10 ( IDENT_49 , IDENT_50 ) ) ; } } java . util . Map < java . lang . String , java . lang . String > IDENT_51 = new java . util . HashMap ( ) ; java . util . Set < io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_4 > IDENT_52 = io . cdap . cdap . IDENT_0 . IDENT_6 . IDENT_14 . split ( spec . METHOD_11 ( ) , IDENT_29 . METHOD_14 ( ) , IDENT_23 , IDENT_24 , IDENT_25 , IDENT_26 , IDENT_51 ) ; java . util . Map < java . lang . String , java . lang . String > IDENT_53 = METHOD_20 ( IDENT_29 . METHOD_14 ( ) , IDENT_47 , IDENT_31 , IDENT_30 , IDENT_25 ) ; java . util . Map < java . lang . String , io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_4 > IDENT_54 = new java . util . HashMap ( ) ; for ( io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_4 IDENT_55 : IDENT_52 ) { IDENT_54 . put ( io . cdap . cdap . IDENT_0 . IDENT_6 . IDENT_14 . METHOD_6 ( IDENT_55 ) , IDENT_55 ) ; } java . util . Set < io . cdap . cdap . IDENT_0 . IDENT_4 . METHOD_5 > IDENT_16 = new java . util . HashSet ( ) ; java . util . Map < java . lang . String , io . cdap . cdap . IDENT_0 . common . IDENT_1 > IDENT_15 = new java . util . HashMap ( ) ; for ( Map . Entry < java . lang . String , io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_4 > IDENT_56 : IDENT_54 . entrySet ( ) ) { java . lang . String IDENT_57 = IDENT_56 . getKey ( ) ; io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_4 IDENT_58 = IDENT_56 . getValue ( ) ; java . util . Set < java . lang . String > IDENT_59 = com . google . common . collect . IDENT_46 . METHOD_21 ( IDENT_45 , IDENT_58 . METHOD_22 ( ) ) ; for ( java . lang . String IDENT_60 : IDENT_59 ) { if ( ! ( IDENT_15 . containsKey ( IDENT_60 ) ) ) { IDENT_15 . put ( IDENT_60 , io . cdap . cdap . IDENT_0 . common . IDENT_1 . builder ( IDENT_43 ) . METHOD_1 ( IDENT_32 . get ( IDENT_60 ) ) . build ( ) ) ; } } if ( ! ( IDENT_45 . METHOD_12 ( IDENT_58 . METHOD_22 ( ) ) ) ) { io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_4 IDENT_61 = METHOD_23 ( IDENT_58 , IDENT_53 ) ; if ( ! ( com . google . common . collect . IDENT_46 . METHOD_21 ( IDENT_61 . METHOD_22 ( ) , IDENT_45 ) . isEmpty ( ) ) ) { java . util . Set < java . lang . String > nodes = com . google . common . collect . IDENT_46 . METHOD_24 ( IDENT_61 . METHOD_22 ( ) , IDENT_45 ) ; IDENT_61 = IDENT_61 . METHOD_25 ( nodes ) ; } IDENT_15 . put ( IDENT_57 , METHOD_26 ( IDENT_61 , IDENT_51 , IDENT_32 , IDENT_53 ) ) ; } for ( java . lang . String IDENT_62 : com . google . common . collect . IDENT_46 . METHOD_21 ( IDENT_45 , IDENT_58 . METHOD_27 ( ) ) ) { io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_10 IDENT_48 = IDENT_29 . get ( IDENT_62 ) ; java . lang . Boolean condition = ( IDENT_48 == null ) ? null : IDENT_58 . METHOD_22 ( ) . contains ( IDENT_48 . METHOD_19 ( ) ) ; for ( java . lang . String output : IDENT_58 . METHOD_28 ( IDENT_62 ) ) { if ( IDENT_45 . contains ( output ) ) { IDENT_16 . add ( new io . cdap . cdap . IDENT_0 . IDENT_4 . METHOD_5 ( IDENT_62 , output , condition ) ) ; } else { IDENT_16 . add ( new io . cdap . cdap . IDENT_0 . IDENT_4 . METHOD_5 ( IDENT_62 , IDENT_57 , condition ) ) ; } } } for ( java . lang . String IDENT_63 : com . google . common . collect . IDENT_46 . METHOD_21 ( IDENT_45 , IDENT_58 . METHOD_29 ( ) ) ) { for ( java . lang . String input : IDENT_58 . METHOD_30 ( IDENT_63 ) ) { if ( IDENT_45 . contains ( input ) ) { io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_10 IDENT_48 = IDENT_29 . get ( input ) ; java . lang . Boolean condition = ( IDENT_48 == null ) ? null : IDENT_58 . METHOD_22 ( ) . contains ( IDENT_48 . METHOD_19 ( ) ) ; IDENT_16 . add ( new io . cdap . cdap . IDENT_0 . IDENT_4 . METHOD_5 ( input , IDENT_63 , condition ) ) ; } else { IDENT_16 . add ( new io . cdap . cdap . IDENT_0 . IDENT_4 . METHOD_5 ( IDENT_57 , IDENT_63 ) ) ; } } } java . util . Set < java . lang . String > IDENT_64 = com . google . common . collect . IDENT_46 . METHOD_24 ( IDENT_58 . METHOD_29 ( ) , IDENT_45 ) ; for ( Map . Entry < java . lang . String , io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_4 > IDENT_65 : IDENT_54 . entrySet ( ) ) { java . lang . String IDENT_66 = IDENT_65 . getKey ( ) ; io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_4 IDENT_67 = IDENT_65 . getValue ( ) ; if ( IDENT_57 . equals ( IDENT_66 ) ) { continue ; } if ( ! ( com . google . common . collect . IDENT_46 . METHOD_21 ( IDENT_64 , IDENT_67 . METHOD_27 ( ) ) . isEmpty ( ) ) ) { IDENT_16 . add ( new io . cdap . cdap . IDENT_0 . IDENT_4 . METHOD_5 ( IDENT_57 , IDENT_66 ) ) ; } } } return new io . cdap . cdap . IDENT_0 . IDENT_6 . METHOD_7 ( IDENT_15 , IDENT_16 ) ; }
org . junit . Assert . assertEquals ( expected , actual )