//TODO: Figure out why the dup / new causes issues.
if(target instanceof NewInstance) {
//get rid of this.
context.getExpressions().pop();
}
methodInvocation = new ConstructorInvocation(context.getCurrentInstruction(), target, methodName, parameters);
}
else {
methodInvocation = new MethodInvocation(context.getCurrentInstruction(), target, methodName, parameters);
}