private Value[] fillParameters(BytecodeInfo code, Object cls,
			Object[] params) {
		Value[] locals = new Value[code.getMaxLocals()];
		for (int i = 0; i < locals.length; i++)
			locals[i] = new Value();

		String myType = code.getMethodInfo().getType();
		String[] myParamTypes = TypeSignature.getParameterTypes(myType);
		int slot = 0;
		if (!code.getMethodInfo().isStatic())
			locals[slot++].setObject(cls);
		for (int i = 0; i < myParamTypes.length; i++) {
			locals[slot].setObject(params[i]);
			slot += TypeSignature.getTypeSize(myParamTypes[i]);
		}
		return locals;
	}