METHOD_0 ( ) { com . facebook . buck . IDENT_0 . integration . IDENT_1 IDENT_2 = com . facebook . buck . IDENT_0 . integration . IDENT_3 . METHOD_1 ( this , STRING_0 , IDENT_4 ) ; IDENT_2 . METHOD_2 ( ) ; java . nio . file . Path root = IDENT_2 . getPath ( STRING_1 2 ) ; java . lang . String IDENT_5 = STRING_1 6 ; java . lang . String IDENT_6 = STRING_1 + IDENT_5 ; com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_9 IDENT_10 = com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_9 . builder ( ) . METHOD_3 ( IDENT_5 ) . METHOD_4 ( root . resolve ( IDENT_6 ) ) . METHOD_5 ( STRING_1 3 ) . build ( ) ; java . lang . String IDENT_11 = STRING_2 ; java . lang . String IDENT_12 = STRING_1 + IDENT_11 ; com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_9 IDENT_13 = com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_9 . builder ( ) . METHOD_3 ( IDENT_11 ) . METHOD_4 ( root . resolve ( IDENT_12 ) ) . METHOD_5 ( STRING_1 3 ) . build ( ) ; com . google . common . collect . ImmutableMap < java . lang . String , com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_9 > IDENT_14 = com . google . common . collect . ImmutableMap . of ( STRING_1 7 , METHOD_6 ( root ) , IDENT_5 , IDENT_10 , IDENT_11 , IDENT_13 ) ; com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_15 IDENT_16 = com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_15 . builder ( ) . setName ( STRING_1 4 ) . METHOD_5 ( STRING_3 ) . METHOD_7 ( IDENT_17 . IDENT_18 ) . METHOD_8 ( STRING_1 0 , STRING_4 ) . METHOD_9 ( com . google . common . collect . ImmutableList . of ( IDENT_10 , IDENT_13 ) ) . build ( ) ; com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_19 IDENT_20 = com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_19 . builder ( ) . METHOD_10 ( root ) . METHOD_11 ( root . resolve ( IDENT_6 ) , root . resolve ( IDENT_12 ) ) . METHOD_12 ( root . resolve ( STRING_5 ) ) . METHOD_13 ( root . resolve ( STRING_1 1 ) ) . build ( ) ; com . google . common . collect . ImmutableMap < com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_15 , com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_19 > expected = com . google . common . collect . ImmutableMap . < com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_15 , com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_19 > builder ( ) . put ( IDENT_16 , IDENT_20 ) . put ( IDENT_16 . METHOD_14 ( STRING_6 ) , IDENT_20 ) . build ( ) ; com . facebook . buck . IDENT_7 . IDENT_21 IDENT_22 = com . facebook . buck . core . config . IDENT_23 . builder ( ) . METHOD_15 ( STRING_7 , ( ( ( STRING_8 + IDENT_5 ) + STRING_1 5 ) + IDENT_11 ) , ( ( ( STRING_9 + IDENT_5 ) + STRING_1 5 ) + IDENT_11 ) ) . build ( ) . METHOD_16 ( com . facebook . buck . IDENT_7 . IDENT_21 . class ) ; "<AssertPlaceHolder>" ; } METHOD_17 ( java . util . Optional , com . google . common . collect . ImmutableList , com . google . common . collect . ImmutableMap , com . facebook . buck . IDENT_7 . IDENT_21 ) { java . util . Optional < com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_9 > IDENT_24 = java . util . Optional . METHOD_18 ( IDENT_25 . get ( com . facebook . buck . IDENT_7 . IDENT_8 . impl . IDENT_26 . IDENT_27 ) ) ; ImmutableMap . Builder < com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_15 , com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_19 > IDENT_28 = com . google . common . collect . ImmutableMap . builder ( ) ; java . util . HashSet < java . nio . file . Path > IDENT_29 = new java . util . HashSet < java . nio . file . Path > ( IDENT_30 ) ; if ( IDENT_31 . METHOD_19 ( ) ) { java . nio . file . Path IDENT_32 = IDENT_31 . get ( ) . resolve ( STRING_10 ) ; com . facebook . buck . IDENT_7 . IDENT_8 . impl . IDENT_26 . LOG . debug ( STRING_11 , IDENT_32 ) ; IDENT_29 . add ( IDENT_32 ) ; } com . google . common . collect . IDENT_33 < com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_17 , com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_15 > IDENT_34 = com . google . common . collect . IDENT_33 . create ( com . google . common . collect . IDENT_35 . METHOD_20 ( ) , com . facebook . buck . IDENT_7 . IDENT_8 . impl . IDENT_26 . IDENT_36 ) ; for ( java . nio . file . Path IDENT_37 : IDENT_29 ) { if ( ! ( java . nio . file . IDENT_38 . exists ( IDENT_37 ) ) ) { com . facebook . buck . IDENT_7 . IDENT_8 . impl . IDENT_26 . LOG . debug ( STRING_12 , IDENT_37 ) ; continue ; } com . facebook . buck . IDENT_7 . IDENT_8 . impl . IDENT_26 . LOG . debug ( STRING_13 , IDENT_37 ) ; try ( java . nio . file . IDENT_39 < java . nio . file . Path > IDENT_40 = java . nio . file . IDENT_38 . METHOD_21 ( IDENT_37 , STRING_14 ) ) { for ( java . nio . file . Path IDENT_41 : IDENT_40 ) { java . nio . file . Path IDENT_42 = IDENT_41 . resolve ( STRING_6 1 ) ; try ( java . nio . file . IDENT_39 < java . nio . file . Path > IDENT_43 = java . nio . file . IDENT_38 . METHOD_21 ( IDENT_42 , STRING_15 ) ) { java . util . Set < java . nio . file . Path > IDENT_44 = new java . util . HashSet ( ) ; for ( java . nio . file . Path IDENT_45 : IDENT_43 ) { com . facebook . buck . IDENT_7 . IDENT_8 . impl . IDENT_26 . LOG . debug ( STRING_6 0 , IDENT_45 ) ; try { IDENT_45 = IDENT_45 . METHOD_22 ( ) ; } catch ( java . nio . file . IDENT_46 e ) { com . facebook . buck . IDENT_7 . IDENT_8 . impl . IDENT_26 . LOG . warn ( e , STRING_6 2 , IDENT_45 ) ; continue ; } if ( IDENT_44 . contains ( IDENT_45 ) ) { com . facebook . buck . IDENT_7 . IDENT_8 . impl . IDENT_26 . LOG . debug ( STRING_16 , IDENT_45 ) ; continue ; } com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_15 . Builder IDENT_47 = com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_15 . builder ( ) ; if ( com . facebook . buck . IDENT_7 . IDENT_8 . impl . IDENT_26 . METHOD_23 ( IDENT_45 , IDENT_47 , IDENT_25 , IDENT_24 , IDENT_48 ) ) { com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_15 sdk = IDENT_47 . build ( ) ; com . facebook . buck . IDENT_7 . IDENT_8 . impl . IDENT_26 . LOG . debug ( STRING_6 3 , sdk ) ; com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_19 . Builder IDENT_49 = com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_19 . builder ( ) ; for ( com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_9 IDENT_8 : sdk . METHOD_24 ( ) ) { IDENT_49 . METHOD_11 ( IDENT_8 . getPath ( ) ) ; } com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_19 IDENT_50 = IDENT_49 . METHOD_10 ( IDENT_31 ) . METHOD_12 ( IDENT_41 ) . METHOD_13 ( IDENT_45 ) . build ( ) ; IDENT_28 . put ( sdk , IDENT_50 ) ; IDENT_34 . put ( sdk . METHOD_25 ( ) , sdk ) ; } IDENT_44 . add ( IDENT_45 ) ; } } catch ( java . nio . file . IDENT_46 e ) { com . facebook . buck . IDENT_7 . IDENT_8 . impl . IDENT_26 . LOG . warn ( e , STRING_17 , IDENT_42 , IDENT_41 ) ; } } } } com . google . common . collect . ImmutableMap < com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_15 , com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_19 > IDENT_51 = IDENT_28 . build ( ) ; for ( com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_17 platform : IDENT_34 . METHOD_26 ( ) ) { java . util . Set < com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_15 > IDENT_52 = IDENT_34 . get ( platform ) ; boolean IDENT_53 = true ; for ( com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_15 sdk : IDENT_52 ) { IDENT_53 OP_0 ! ( sdk . getName ( ) . equals ( platform . getName ( ) ) ) ; } if ( IDENT_53 ) { com . facebook . buck . IDENT_7 . IDENT_8 . IDENT_15 IDENT_54 = IDENT_34 . get ( platform ) . METHOD_27 ( ) ; IDENT_28 . put ( IDENT_54 . METHOD_14 ( platform . getName ( ) ) , IDENT_51 . get ( IDENT_54 ) ) ; } } return IDENT_28 . build ( ) ; }
org . junit . Assert . assertThat ( com . facebook . buck . IDENT_7 . IDENT_8 . impl . IDENT_26 . METHOD_17 ( java . util . Optional . of ( root ) , com . google . common . collect . ImmutableList . of ( root ) , IDENT_14 , IDENT_22 ) , org . hamcrest . Matchers . equalTo ( expected ) )