global.log("entering method " + Debug.toString(mSym) + " (type: " + Debug.toString(mSym.info()) + ")"
global.log("entering method " + Debug.show(mSym) + " (type: " + Debug.show(mSym.info()) + ")"
    protected Context enterMethod(Context ctx,                                  Tree.DefDef mDef,                                  boolean useWideJumps) {        Symbol mSym = mDef.symbol();        global.log("entering method " + Debug.toString(mSym)                   + " (type: " + Debug.toString(mSym.info()) + ")"                   + " wide jumps? " + useWideJumps);        JMethod method = addNewScalaMethod(ctx.clazz, mSym, 0);        Map locals = new HashMap();        Symbol[] args = mSym.valueParams();        JType[] argTypes = method.getArgumentTypes();        for (int i = 0, pos = 1; i < argTypes.length; ++i) {            locals.put(args[i], new Integer(pos));            pos += argTypes[i].getSize();        }        if ((mSym.flags & Modifiers.BRIDGE) != 0)            method.addAttribute(fjbgContext.JOtherAttribute(ctx.clazz,                                                            method,                                                            "Bridge",                                                            new byte[]{}));        if (ctx.isRemote && mSym.isPublic()) {            // (see http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html#3129)            // Exceptions_attribute {            // ..            // u2 number_of_exceptions;    	    // u2 exception_index_table[number_of_exceptions];            // }            JConstantPool cp = ctx.clazz.getConstantPool();            int reInx = cp.addClass(JAVA_RMI_REMOTEEXCEPTION);            ByteBuffer contents = ByteBuffer.allocate(4); // u2 + u2[1]            contents.putShort((short) 1);            contents.putShort((short) reInx);            global.log("adding 'Exceptions_attribute' " + contents.toString()                       + " for remote method " + mSym.name.toString());            method.addAttribute(fjbgContext.JOtherAttribute(ctx.clazz,                                                            method,                                                            "Exceptions",                                                            contents.array()));        }        return ctx.withMethod(method, locals, useWideJumps);    }