Skip to content

Commit a829b2e

Browse files
author
Niklas
committed
Add isEmpty method to sourcesinkdef interface
1 parent 96f2314 commit a829b2e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

soot-infoflow/src/soot/jimple/infoflow/sourcesSinks/definitions/ISourceSinkDefinition.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,11 @@ public interface ISourceSinkDefinition {
4646
*/
4747
public abstract void merge(ISourceSinkDefinition other);
4848

49+
/**
50+
* Indicates if the definition contains any sources or sinks
51+
*
52+
* @return The boolean if this definition is empty
53+
*/
54+
public abstract boolean isEmpty();
55+
4956
}

0 commit comments

Comments
 (0)