METHOD_0 ( ) { IDENT_0 . add ( "test" ) ; IDENT_0 . add ( STRING_0 ) ; IDENT_0 . add ( STRING_1 ) ; IDENT_0 . METHOD_1 ( new org . eclipse . swt . events . METHOD_2 ( ) { @ org . eclipse . swt . IDENT_1 . Override public void METHOD_3 ( org . eclipse . swt . events . IDENT_2 event ) { event . text = ( event . text ) + "2" ; } } ) ; IDENT_0 . METHOD_4 ( "test" ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { METHOD_6 ( ) ; int result = - 1 ; if ( IDENT_3 ) { if ( ( IDENT_4 . size ( ) ) != 0 ) { result = IDENT_4 . get ( 0 ) . y ; } } else { if ( ( IDENT_5 . size ( ) ) != 0 ) { result = IDENT_6 . indexOf ( IDENT_5 . get ( 0 ) ) ; } } return result ; }
org . junit . Assert . assertEquals ( 2 , IDENT_0 . METHOD_5 ( ) )