METHOD_0 ( ) { java . nio . file . Path root = java . nio . file . IDENT_0 . get ( STRING_0 ) ; java . nio . file . Path IDENT_1 = java . nio . file . IDENT_0 . get ( STRING_1 1 ) ; java . nio . file . Path IDENT_2 = java . nio . file . IDENT_0 . get ( STRING_2 ) ; java . nio . file . IDENT_3 . METHOD_1 ( IDENT_1 ) ; java . nio . file . IDENT_3 . METHOD_1 ( IDENT_2 ) ; com . facebook . buck . util . IDENT_4 . METHOD_2 ( IDENT_1 , root . METHOD_3 ( ) ) ; com . facebook . buck . util . IDENT_4 . METHOD_2 ( IDENT_2 , root . METHOD_3 ( ) ) ; com . facebook . buck . core . config . IDENT_5 IDENT_6 = com . facebook . buck . core . config . IDENT_7 . builder ( ) . METHOD_4 ( com . google . common . collect . ImmutableMap . of ( STRING_3 , com . google . common . collect . ImmutableMap . of ( STRING_1 4 , IDENT_1 . resolve ( STRING_1 ) . toString ( ) ) ) ) . build ( ) ; com . facebook . buck . IDENT_8 . IDENT_9 config = IDENT_6 . METHOD_5 ( com . facebook . buck . IDENT_8 . IDENT_9 . class ) ; com . facebook . buck . util . IDENT_10 IDENT_11 = com . facebook . buck . util . IDENT_10 . builder ( ) . METHOD_6 ( com . google . common . collect . ImmutableList . of ( STRING_1 5 , STRING_4 ) ) . build ( ) ; com . facebook . buck . util . IDENT_12 IDENT_13 = new com . facebook . buck . util . METHOD_7 ( 0 , IDENT_2 . toString ( ) , STRING_1 0 ) ; com . facebook . buck . util . IDENT_14 IDENT_15 = new com . facebook . buck . util . METHOD_8 ( com . google . common . collect . ImmutableMap . of ( IDENT_11 , IDENT_13 ) ) ; java . util . function . IDENT_16 < java . util . Optional < java . nio . file . Path > > IDENT_17 = config . METHOD_9 ( IDENT_15 ) ; com . google . common . collect . ImmutableList < java . nio . file . Path > IDENT_18 = config . METHOD_10 ( ) ; com . google . common . collect . ImmutableMap < java . lang . String , com . facebook . buck . IDENT_8 . IDENT_19 . IDENT_20 > expected = com . google . common . collect . ImmutableMap . of ( STRING_5 , com . facebook . buck . IDENT_8 . IDENT_19 . IDENT_20 . builder ( ) . METHOD_11 ( STRING_5 ) . METHOD_12 ( STRING_6 ) . METHOD_13 ( root . resolve ( STRING_7 ) . METHOD_3 ( ) ) . build ( ) , STRING_8 , com . facebook . buck . IDENT_8 . IDENT_19 . IDENT_20 . builder ( ) . METHOD_11 ( STRING_8 ) . METHOD_13 ( root . resolve ( STRING_1 2 ) . METHOD_3 ( ) ) . build ( ) , STRING_9 , com . facebook . buck . IDENT_8 . IDENT_19 . IDENT_20 . builder ( ) . METHOD_11 ( STRING_9 ) . METHOD_12 ( STRING_6 ) . METHOD_13 ( root . resolve ( STRING_1 3 ) . METHOD_3 ( ) ) . build ( ) ) ; try { "<AssertPlaceHolder>" ; } finally { java . nio . file . IDENT_3 . METHOD_1 ( IDENT_1 ) ; java . nio . file . IDENT_3 . METHOD_1 ( IDENT_2 ) ; } } METHOD_14 ( java . util . Optional , com . google . common . collect . ImmutableList ) { ImmutableMap . Builder < java . lang . String , com . facebook . buck . IDENT_8 . IDENT_19 . IDENT_20 > IDENT_21 = com . google . common . collect . ImmutableMap . builder ( ) ; java . util . HashSet < java . nio . file . Path > IDENT_22 = new java . util . HashSet < java . nio . file . Path > ( IDENT_23 ) ; if ( IDENT_24 . METHOD_15 ( ) ) { java . nio . file . Path IDENT_25 = IDENT_24 . get ( ) . resolve ( STRING_1 ) ; com . facebook . buck . IDENT_8 . IDENT_19 . impl . IDENT_26 . LOG . debug ( STRING_10 , IDENT_25 ) ; IDENT_22 . add ( IDENT_25 ) ; } for ( java . nio . file . Path IDENT_27 : IDENT_22 ) { if ( ! ( java . nio . file . IDENT_3 . exists ( IDENT_27 ) ) ) { com . facebook . buck . IDENT_8 . IDENT_19 . impl . IDENT_26 . LOG . debug ( STRING_11 , IDENT_27 ) ; continue ; } com . facebook . buck . IDENT_8 . IDENT_19 . impl . IDENT_26 . LOG . debug ( STRING_12 , IDENT_27 ) ; try ( java . nio . file . IDENT_28 < java . nio . file . Path > IDENT_29 = java . nio . file . IDENT_3 . METHOD_16 ( IDENT_27 , STRING_13 ) ) { for ( java . nio . file . Path IDENT_30 : com . google . common . collect . IDENT_31 . METHOD_17 ( IDENT_29 ) ) { com . facebook . buck . IDENT_8 . IDENT_19 . impl . IDENT_26 . LOG . debug ( STRING_14 , IDENT_30 ) ; METHOD_18 ( IDENT_30 , IDENT_21 ) ; } } } return IDENT_21 . build ( ) ; }
org . junit . Assert . assertThat ( com . facebook . buck . IDENT_8 . IDENT_19 . impl . IDENT_26 . METHOD_14 ( IDENT_17 . get ( ) , IDENT_18 ) , org . hamcrest . Matchers . equalTo ( expected ) )