/** * Set the method parameter that this local corresponds to. */ public void setParam(int param) { setLocal(_owner.getCode().getLocalsIndex(param)); }
/** * Set the method parameter that this local corresponds to. */ public void setParam(int param) { setLocal(_owner.getCode().getLocalsIndex(param)); }
max = 1; else if (params.length > 0) { max = getLocalsIndex(params.length - 1) + 1; if (params[params.length - 1].equals(long.class.getName()) || params[params.length - 1].equals(double.class.getName()))
max = 1; else if (params.length > 0) { max = getLocalsIndex(params.length - 1) + 1; if (params[params.length - 1].equals(long.class.getName()) || params[params.length - 1].equals(double.class.getName()))
/** * Set the method parameter that this instruction operates on. This * will set both the local index and the type of the instruction based * on the current method parameters. */ public LocalVariableInstruction setParam(int param) { int local = getCode().getLocalsIndex(param); if (local != -1) { BCMethod method = getCode().getMethod(); setType(method.getParamNames()[param]); } return setLocal(local); }
/** * Set the method parameter that this instruction operates on. This * will set both the local index and the type of the instruction based * on the current method parameters. */ public LocalVariableInstruction setParam(int param) { int local = getCode().getLocalsIndex(param); if (local != -1) { BCMethod method = getCode().getMethod(); setType(method.getParamNames()[param]); } return setLocal(local); }