question: public static String appendParameter ( CtClass type , String descriptor ) { int i = descriptor . indexOf ( ')' ) ; if ( i < 0 ) return descriptor ; else { StringBuffer newdesc = new StringBuffer ( ) ; newdesc . append ( descriptor . substring ( 0 , i ) ) ; toDescriptor ( newdesc , type ) ; newdesc . append ( descriptor . substring ( i ) ) ; return newdesc . toString ( ) ; } }
target:  Appends a parameter type to the parameter list represented by the given descriptor.  The appended parameter becomes the last parameter.