METHOD_0 ( ) { org . eclipse . IDENT_0 . text . IDENT_1 IDENT_2 ; int i = 0 ; int IDENT_3 = 0 ; for ( java . lang . String IDENT_4 : org . eclipse . IDENT_5 . IDENT_6 . ui . IDENT_7 . test . IDENT_8 . IDENT_9 . IDENT_10 . IDENT_11 ) { int IDENT_12 = IDENT_4 . length ( ) ; int offset = org . eclipse . IDENT_5 . IDENT_6 . ui . IDENT_7 . test . IDENT_8 . IDENT_9 . IDENT_10 . IDENT_13 . indexOf ( IDENT_4 , IDENT_3 ) ; IDENT_2 = new org . eclipse . IDENT_0 . text . METHOD_1 ( offset , IDENT_12 ) ; int IDENT_14 = org . eclipse . IDENT_5 . IDENT_6 . ui . IDENT_7 . test . IDENT_8 . IDENT_9 . IDENT_10 . IDENT_15 . METHOD_2 ( IDENT_2 , org . eclipse . IDENT_5 . IDENT_6 . ui . IDENT_7 . test . IDENT_8 . IDENT_9 . IDENT_10 . document ) ; "<AssertPlaceHolder>" ; IDENT_3 = offset + IDENT_12 ; i ++ ; } } METHOD_2 ( org . eclipse . IDENT_0 . text . IDENT_1 , org . eclipse . IDENT_0 . text . IDENT_16 ) { try { int IDENT_17 = document . METHOD_3 ( IDENT_18 . METHOD_4 ( ) ) ; int offset = document . METHOD_5 ( IDENT_17 ) ; if ( offset >= ( IDENT_18 . METHOD_4 ( ) ) ) { return IDENT_17 ; } offset = document . METHOD_5 ( ( IDENT_17 + 1 ) ) ; return offset > ( ( IDENT_18 . METHOD_4 ( ) ) + ( IDENT_18 . METHOD_6 ( ) ) ) ? - 1 : IDENT_17 + 1 ; } catch ( org . eclipse . IDENT_0 . text . IDENT_19 e ) { org . eclipse . IDENT_5 . IDENT_6 . IDENT_20 . ui . widgets . IDENT_21 . METHOD_7 ( e . METHOD_8 ( ) , e ) ; } return - 1 ; }
org . junit . Assert . assertEquals ( i , IDENT_14 )