METHOD_0 ( ) { org . batfish . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = new org . batfish . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( STRING_0 , 0 , IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . util . List , int ) { if ( IDENT_6 < 0 ) { return java . util . Optional . empty ( ) ; } org . batfish . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 element = IDENT_7 . get ( IDENT_6 ) ; if ( IDENT_6 > 0 ) { java . util . Optional < org . batfish . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 > IDENT_8 = org . batfish . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_3 ( IDENT_7 , ( IDENT_6 - 1 ) ) ; if ( IDENT_8 . METHOD_4 ( ) ) { return org . batfish . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( IDENT_7 , ( ( IDENT_8 . get ( ) . METHOD_5 ( ) ) - 1 ) ) ; } } if ( ( element . METHOD_6 ( ) ) == ( Type . IDENT_9 ) ) { if ( ( IDENT_6 > 0 ) && ( ( IDENT_7 . get ( ( IDENT_6 - 1 ) ) . METHOD_6 ( ) ) == ( Type . IDENT_10 ) ) ) { return java . util . Optional . of ( IDENT_7 . get ( ( IDENT_6 - 1 ) ) ) ; } return java . util . Optional . of ( element ) ; } else if ( ( ( element . METHOD_6 ( ) ) != null ) && ( ( element . METHOD_6 ( ) ) != ( Type . IDENT_5 ) ) ) { return java . util . Optional . of ( element ) ; } return org . batfish . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( IDENT_7 , ( IDENT_6 - 1 ) ) ; }
org . junit . Assert . assertThat ( org . batfish . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( com . google . common . collect . ImmutableList . of ( IDENT_4 ) , 0 ) , org . hamcrest . Matchers . equalTo ( java . util . Optional . empty ( ) ) )