Package com.ibm.wala.ipa.slicer
Class HeapExclusions
- java.lang.Object
-
- com.ibm.wala.ipa.slicer.HeapExclusions
-
public class HeapExclusions extends Object
heap locations that should be excluded from data dependence during slicing
-
-
Constructor Summary
Constructors Constructor Description HeapExclusions(SetOfClasses set)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
excludes(PointerKey pk)
Set<PointerKey>
filter(Collection<PointerKey> s)
static TypeReference
getType(PointerKey pk)
-
-
-
Constructor Detail
-
HeapExclusions
public HeapExclusions(SetOfClasses set)
-
-
Method Detail
-
filter
public Set<PointerKey> filter(Collection<PointerKey> s)
- Returns:
- the PointerKeys that are not excluded
- Throws:
IllegalArgumentException
- if s is null
-
excludes
public boolean excludes(PointerKey pk)
-
getType
public static TypeReference getType(PointerKey pk)
-
-