METHOD_0 ( ) { java . lang . String input = STRING_0 ; org . eclipse . rap . IDENT_0 . IDENT_1 tokens = org . eclipse . rap . IDENT_0 . IDENT_2 . parse ( input ) ; int IDENT_3 = tokens . METHOD_1 ( "bar" , 2 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , int ) { if ( ! ( org . eclipse . rap . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . matches ( METHOD_2 ( offset ) ) ) ) { throw new java . lang . IllegalArgumentException ( ( STRING_1 + offset ) ) ; } int result = - 1 ; int IDENT_6 = METHOD_3 ( offset ) ; if ( IDENT_6 == ( - 1 ) ) { throw new java . lang . IllegalArgumentException ( ( STRING_2 + offset ) ) ; } int pos = offset + 1 ; org . eclipse . rap . IDENT_0 . IDENT_1 . IDENT_4 IDENT_7 = org . eclipse . rap . IDENT_0 . IDENT_1 . IDENT_4 . string ( ) ; org . eclipse . rap . IDENT_0 . IDENT_1 . IDENT_4 IDENT_8 = org . eclipse . rap . IDENT_0 . IDENT_1 . IDENT_4 . name ( ) ; while ( pos < ( IDENT_6 - 2 ) ) { com . IDENT_9 . platform . IDENT_10 . IDENT_11 . IDENT_12 token = METHOD_2 ( pos ) ; if ( ( IDENT_7 . matches ( token ) ) || ( IDENT_8 . matches ( token ) ) ) { if ( ( ( ( key . equals ( IDENT_7 . IDENT_13 ) ) || ( key . equals ( IDENT_8 . IDENT_13 ) ) ) || ( STRING_3 . equals ( IDENT_7 . IDENT_13 ) ) ) || ( STRING_3 . equals ( IDENT_8 . IDENT_13 ) ) ) { if ( org . eclipse . rap . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_14 . matches ( METHOD_2 ( ( pos + 1 ) ) ) ) { result = pos + 2 ; } } } pos ++ ; } return result ; }
org . junit . Assert . assertEquals ( 10 , IDENT_3 )