public static String mangleName ( Method method , boolean isFull ) { StringBuffer sb = new StringBuffer ( ) ; sb . append ( method . getName ( ) ) ; Class [ ] params = method . getParameterTypes ( ) ; for ( int i = 0 ; i < params . length ; i ++ ) { sb . append ( ' ' ) ; sb . append ( mangleClass ( params [ i ] , isFull ) ) ; } return sb . toString ( ) ; }
Creates a unique mangled method name based on the method name and the method parameters .