package org.ntlab.deltaViewer; import org.ntlab.trace.MethodExecution; import org.ntlab.trace.MethodInvocation; public class DummyMethodInvocation extends MethodInvocation { private long timeStamp; public DummyMethodInvocation(MethodInvocation original) { super(original.getCallerSideMethodName(), original.getThisClassName(), original.getThisObjId(), original.getLineNo(), original.getThreadNo()); super.setCalledMethodExecution(original.getCalledMethodExecution()); timeStamp = original.getTimeStamp(); } public DummyMethodInvocation(MethodExecution methodExecution, String thisClassName, String thisObjId, int lineNo, String threadNo) { super(methodExecution.getCallerSideSignature(), thisClassName, thisObjId, lineNo, threadNo); super.setCalledMethodExecution(methodExecution); timeStamp = methodExecution.getEntryTime(); } public long getTimeStamp() { return timeStamp; } public void setThisObjId(String thisObjId) { this.thisObjId = thisObjId; } }