Lines Matching defs:oldExp
264 private Statement cloneStatement(Statement oldExp) {
265 Object oldTarget = oldExp.getTarget();
268 Object[] oldArgs = oldExp.getArguments();
273 Statement newExp = Statement.class.equals(oldExp.getClass())
274 ? new Statement(newTarget, oldExp.getMethodName(), newArgs)
275 : new Expression(newTarget, oldExp.getMethodName(), newArgs);
276 newExp.loader = oldExp.loader;
300 // System.out.println("writeStatement: " + oldExp);
321 * @param oldExp The expression to be written to the stream.
323 public void writeExpression(Expression oldExp) {
324 // System.out.println("Encoder::writeExpression: " + oldExp);
325 Object oldValue = getValue(oldExp);
329 bindings.put(oldValue, (Expression)cloneStatement(oldExp));