METHOD_0 ( ) { handler = new org . eclipse . swt . internal . widgets . IDENT_0 . METHOD_1 ( IDENT_1 ) ; IDENT_1 . add ( STRING_0 ) ; IDENT_1 . add ( STRING_1 ) ; handler . METHOD_2 ( new org . eclipse . rap . json . METHOD_3 ( ) . add ( STRING_2 , 1 ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { METHOD_5 ( ) ; int result = - 1 ; if ( IDENT_2 ) { if ( ( IDENT_3 . size ( ) ) != 0 ) { result = IDENT_3 . get ( 0 ) . y ; } } else { if ( ( IDENT_4 . size ( ) ) != 0 ) { result = IDENT_5 . indexOf ( IDENT_4 . get ( 0 ) ) ; } } return result ; }
org . junit . Assert . assertEquals ( 1 , IDENT_1 . METHOD_4 ( ) )