package org.ntlab.deltaViewer; import java.util.ArrayList; import java.util.List; import org.ntlab.deltaExtractor.ExtractedStructure; import org.ntlab.trace.MethodExecution; import org.ntlab.trace.Reference; public class DeltaObjectCallGraph implements IObjectCallGraph { private List<Reference> references = new ArrayList<>(); private List<MethodExecution> startPoints = new ArrayList<>(); public DeltaObjectCallGraph(ExtractedStructure e) { references.addAll(e.getDelta().getSrcSide()); references.addAll(e.getDelta().getDstSide()); startPoints.add(e.getCoordinator()); } @Override public List<Reference> getReferences() { return references; } @Override public List<MethodExecution> getStartPoints() { return startPoints; } }