METHOD_0 ( ) { com . facebook . buck . core . model . IDENT_0 . IDENT_1 < ? > root = new com . facebook . buck . IDENT_2 . METHOD_1 ( STRING_0 ) . build ( ) ; com . facebook . buck . IDENT_2 . IDENT_3 IDENT_4 = new com . facebook . buck . IDENT_2 . METHOD_2 ( com . facebook . buck . core . model . IDENT_0 . IDENT_5 . newInstance ( root ) , com . google . common . collect . ImmutableMap . of ( STRING_1 , com . facebook . buck . IDENT_2 . IDENT_6 . of ( com . google . common . collect . ImmutableMap . of ( ) ) , STRING_2 , com . facebook . buck . IDENT_2 . IDENT_6 . of ( com . google . common . collect . ImmutableMap . of ( ) ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( com . facebook . buck . core . model . IDENT_0 . IDENT_1 ) { java . util . Optional < java . lang . String > IDENT_7 = METHOD_4 ( root ) ; if ( ( ! ( IDENT_7 . METHOD_5 ( ) ) ) && ( ! ( IDENT_8 . isEmpty ( ) ) ) ) { return java . util . Optional . of ( com . google . common . collect . IDENT_9 . get ( IDENT_8 . entrySet ( ) , 0 ) ) ; } if ( ! ( IDENT_7 . METHOD_5 ( ) ) ) { return java . util . Optional . empty ( ) ; } com . facebook . buck . IDENT_2 . IDENT_6 IDENT_10 = IDENT_8 . get ( IDENT_7 . get ( ) ) ; if ( IDENT_10 == null ) { throw new com . google . common . base . METHOD_6 ( java . lang . String . format ( STRING_3 , root . METHOD_7 ( ) , IDENT_7 . get ( ) ) ) ; } return java . util . Optional . of ( new java . util . IDENT_11 . IDENT_12 < > ( IDENT_7 . get ( ) , IDENT_10 ) ) ; }
org . junit . Assert . assertThat ( IDENT_4 . METHOD_3 ( root ) . get ( ) . getKey ( ) , org . hamcrest . Matchers . equalTo ( STRING_1 ) )