if (DEBUG) System.out.println(" --- " + className + " " + m.getName() + " " + signature); Type[] argTypes = Type.getArgumentTypes(signature); int reg = 0; if (!m.isStatic()) { Item it = new Item("L" + className+";"); it.isInitialParameter = true; it.registerNumber = reg; setLVValue( reg++, it); } for (Type argType : argTypes) { Item it = new Item(argType.getSignature()); it.registerNumber = reg; it.isInitialParameter = true; setLVValue(reg++, it); } return reg;
return result;
 	public int resetForMethodEntry(PreorderVisitor v) {  		if (DEBUG) System.out.println(" --- "); 		stack.clear();		jumpTarget = -1; 		lvValues.clear();		jumpStack.clear();		seenTransferOfControl = false;		String className = v.getClassName();		Method m = v.getMethod();		String signature = v.getMethodSig();		exceptionHandlers.clear();		Code code = m.getCode();		if (code != null) {			CodeException[] exceptionTable = code.getExceptionTable();			if (exceptionTable != null)				for(CodeException ex : exceptionTable) 					exceptionHandlers.set(ex.getHandlerPC());		}		if (DEBUG) System.out.println(" --- " + className 				+ " " + m.getName() + " " + signature);		Type[] argTypes = Type.getArgumentTypes(signature);		int reg = 0;		if (!m.isStatic()) {			Item it = new Item("L" + className+";");			it.isInitialParameter = true;			it.registerNumber = reg;			setLVValue( reg++, it);			}		 for (Type argType : argTypes) {			 Item it = new Item(argType.getSignature());			 it.registerNumber = reg;			 it.isInitialParameter = true;			 setLVValue(reg++, it);		 }		return reg;		}