METHOD_0 ( ) { java . lang . String code = STRING_0 ; int IDENT_0 = 7 ; int IDENT_1 = com . itextpdf . IDENT_2 . IDENT_3 . METHOD_1 ( code ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( text == null ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } int [ ] IDENT_4 = new int [ text . length ( ) ] ; for ( int x = 0 ; x < ( text . length ( ) ) ; x ++ ) { IDENT_4 [ x ] = ( ( int ) ( ( text . charAt ( x ) ) - STRING_2 ) ) ; if ( ( ( IDENT_4 [ x ] ) < 0 ) || ( ( IDENT_4 [ x ] ) > 9 ) ) { throw new java . lang . IllegalArgumentException ( ( ( STRING_3 + ( text . charAt ( x ) ) ) + STRING_4 ) ) ; } } int IDENT_5 = 0 ; int length = IDENT_4 . length ; for ( int i = 0 ; i < length ; i ++ ) { int IDENT_6 = IDENT_4 [ ( ( length - i ) - 1 ) ] ; if ( ( i OP_0 2 ) == 0 ) { IDENT_6 OP_1 2 ; } IDENT_5 += ( IDENT_6 > 9 ) ? IDENT_6 - 9 : IDENT_6 ; } return ( IDENT_5 * 9 ) OP_0 10 ; }
org . junit . Assert . assertEquals ( IDENT_1 , IDENT_0 )