soot.jimple.infoflow.solver.gcSolver.NullGarbageCollector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of soot-infoflow Show documentation
Show all versions of soot-infoflow Show documentation
Soot extending data flow tracking components for Java
The newest version!
package soot.jimple.infoflow.solver.gcSolver;
import heros.solver.PathEdge;
import soot.SootMethod;
/**
* Mock implementation for a garbage collector that does nothing
*
* @author Steven Arzt
*
*/
public class NullGarbageCollector implements IGarbageCollector {
@Override
public void notifyEdgeSchedule(PathEdge edge) {
// do nothing
}
@Override
public void notifyTaskProcessed(PathEdge edge) {
// do nothing
}
@Override
public void gc() {
// do nothing
}
@Override
public int getGcedAbstractions() {
return 0;
}
@Override
public int getGcedEdges() {
return 0;
}
@Override
public void notifySolverTerminated() {
}
public void setPeerGroup(GarbageCollectorPeerGroup peerGroup) {
// do nothing.
}
}