METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 + STRING_1 ; org . openscience . cdk . interfaces . IDENT_1 ac = org . openscience . cdk . group . IDENT_2 . METHOD_1 ( IDENT_0 , org . openscience . cdk . group . IDENT_3 . builder ) ; org . openscience . cdk . group . IDENT_4 IDENT_5 = new org . openscience . cdk . group . METHOD_2 ( ) ; org . openscience . cdk . group . IDENT_6 IDENT_7 = IDENT_5 . METHOD_3 ( ac ) ; org . openscience . cdk . group . IDENT_6 expected = org . openscience . cdk . group . IDENT_6 . METHOD_1 ( STRING_2 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( ( IDENT_8 == null ) || ( IDENT_8 . isEmpty ( ) ) ) throw new java . lang . IllegalArgumentException ( STRING_3 ) ; org . openscience . cdk . group . IDENT_6 p = new org . openscience . cdk . group . METHOD_4 ( ) ; int index = 0 ; if ( ( IDENT_8 . charAt ( 0 ) ) == STRING_4 ) { index ++ ; } int IDENT_9 ; if ( ( IDENT_8 . charAt ( ( ( IDENT_8 . length ( ) ) - 1 ) ) ) == STRING_5 ) { IDENT_9 = ( IDENT_8 . length ( ) ) - 2 ; } else { IDENT_9 = ( IDENT_8 . length ( ) ) - 1 ; } int IDENT_10 = - 1 ; int IDENT_11 = - 1 ; while ( index <= IDENT_9 ) { char c = IDENT_8 . charAt ( index ) ; if ( java . lang . IDENT_12 . METHOD_5 ( c ) ) { if ( IDENT_11 == ( - 1 ) ) { IDENT_11 = index ; } } else if ( c == STRING_6 ) { int element = java . lang . Integer . METHOD_6 ( IDENT_8 . substring ( IDENT_11 , index ) ) ; if ( IDENT_10 == ( - 1 ) ) { p . METHOD_7 ( element ) ; IDENT_10 = 0 ; } else { p . METHOD_8 ( IDENT_10 , element ) ; } IDENT_11 = - 1 ; } else if ( c == STRING_7 ) { int element = java . lang . Integer . METHOD_6 ( IDENT_8 . substring ( IDENT_11 , index ) ) ; if ( IDENT_10 == ( - 1 ) ) { p . METHOD_7 ( element ) ; IDENT_10 = 0 ; } else { p . METHOD_8 ( IDENT_10 , element ) ; } IDENT_10 ++ ; p . METHOD_7 ( ) ; IDENT_11 = - 1 ; } index ++ ; } int IDENT_13 = java . lang . Integer . METHOD_6 ( IDENT_8 . substring ( IDENT_11 , ( IDENT_9 + 1 ) ) ) ; p . METHOD_8 ( IDENT_10 , IDENT_13 ) ; return p ; }
org . junit . Assert . assertEquals ( expected , IDENT_7 )