public static String methodDescriptor(MethodNode mNode) {
        StringBuilder sb = new StringBuilder(mNode.getName().length() + mNode.getParameters().length * 10);
        sb.append(mNode.getReturnType().getName());
        sb.append(' ');
        sb.append(mNode.getName());
        sb.append('(');
        for (int i = 0; i < mNode.getParameters().length; i++) {
            if (i > 0) {
                sb.append(", ");
            }
            Parameter p = mNode.getParameters()[i];
            sb.append(ClassNodeUtils.formatTypeName(p.getType()));
        }
        sb.append(')');
        return sb.toString();
    }
public static String methodDescriptor ( MethodNode mNode ) { StringBuilder sb = new StringBuilder ( mNode . getName ( ) . length ( ) + mNode . getParameters ( ) . length * 10 ) ; sb . append ( mNode . getReturnType ( ) . getName ( ) ) ; sb . append ( ' ' ) ; sb . append ( mNode . getName ( ) ) ; sb . append ( '(' ) ; for ( int i = 0 ; i < mNode . getParameters ( ) . length ; i ++ ) { if ( i > 0 ) { sb . append ( ", " ) ; } Parameter p = mNode . getParameters ( ) [ i ] ; sb . append ( ClassNodeUtils . formatTypeName ( p . getType ( ) ) ) ; } sb . append ( ')' ) ; return sb . toString ( ) ; }
Return the method node's descriptor which includes its return type,
name and parameter types without generics.

@param mNode the method node
@return the method node's descriptor