diff --git a/org.ntlab.traceAnalyzer/src/org/ntlab/trace/MethodExecutionJPDA.java b/org.ntlab.traceAnalyzer/src/org/ntlab/trace/MethodExecutionJPDA.java new file mode 100644 index 0000000..f95a2ed --- /dev/null +++ b/org.ntlab.traceAnalyzer/src/org/ntlab/trace/MethodExecutionJPDA.java @@ -0,0 +1,45 @@ +package org.ntlab.trace; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.HashSet; + +public class MethodExecutionJPDA { + private String signature; + private MethodExecutionJPDA callerMethodExecution = null; + private ArrayList children = new ArrayList(); + private long entryTime = 0L; + + public MethodExecutionJPDA(String signature, long enterTime) { + this.signature = signature; + this.entryTime = enterTime; + } + + public String getSignature() { + return signature; + } + + public long getEntryTime() { + return entryTime; + } + + public void addChild(MethodExecutionJPDA child) { + children.add(child); + } + + public ArrayList getChildren() { + return children; + } + + public void setCaller(MethodExecutionJPDA callerMethodExecution) { + this.callerMethodExecution = callerMethodExecution; + } + + public MethodExecutionJPDA getParent() { + return callerMethodExecution; + } + + public MethodExecutionJPDA getCallerMethodExecution() { + return callerMethodExecution; + } +}