Class CriticalSectionVisibleEdgesPred
- java.lang.Object
-
- soot.jimple.toolkits.thread.synchronization.CriticalSectionVisibleEdgesPred
-
- All Implemented Interfaces:
EdgePredicate
public class CriticalSectionVisibleEdgesPred extends Object implements EdgePredicate
A predicate that accepts edges that are not part of the class library and do not have a source statement that falls inside a transaction.- Author:
- Richard L. Halpert
-
-
Constructor Summary
Constructors Constructor Description CriticalSectionVisibleEdgesPred(Collection<soot.jimple.toolkits.thread.synchronization.CriticalSection> tns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetExemptTransaction(soot.jimple.toolkits.thread.synchronization.CriticalSection exemptTn)booleanwant(Edge e)Returns true iff the edge e is wanted.
-
-
-
Constructor Detail
-
CriticalSectionVisibleEdgesPred
public CriticalSectionVisibleEdgesPred(Collection<soot.jimple.toolkits.thread.synchronization.CriticalSection> tns)
-
-
Method Detail
-
setExemptTransaction
public void setExemptTransaction(soot.jimple.toolkits.thread.synchronization.CriticalSection exemptTn)
-
want
public boolean want(Edge e)
Returns true iff the edge e is wanted.- Specified by:
wantin interfaceEdgePredicate
-
-