Class SinkInfo
java.lang.Object
soot.jimple.infoflow.sourcesSinks.manager.SinkInfo
Class containing additional information about a sink. Users of FlowDroid can
derive from this class when implementing their own SourceSinkManager to
associate additional information with a sink.
- Author:
- Steven Arzt, Daniel Magin
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSinkInfo()Creates a new instance of theAbstractSourceSinkInfoclass.SinkInfo(Collection<ISourceSinkDefinition> definitions) Creates a new instance of theAbstractSourceSinkInfoclass.SinkInfo(Collection<ISourceSinkDefinition> definitions, Object userData) Creates a new instance of theAbstractSourceSinkInfoclass.SinkInfo(ISourceSinkDefinition definition) Creates a new instance of theAbstractSourceSinkInfoclass. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the original definition of this data flow source or sinkGets the user data to be tracked together with this sourceinthashCode()
-
Field Details
-
userData
-
-
Constructor Details
-
SinkInfo
Creates a new instance of theAbstractSourceSinkInfoclass.- Parameters:
definitions- The original definition of the source or sinkuserData- Additional user data to be propagated with the source
-
SinkInfo
Creates a new instance of theAbstractSourceSinkInfoclass.- Parameters:
definitions- The original definition of the source or sink
-
SinkInfo
Creates a new instance of theAbstractSourceSinkInfoclass.- Parameters:
definition- The original definition of the source or sink
-
SinkInfo
public SinkInfo()Creates a new instance of theAbstractSourceSinkInfoclass.
-
-
Method Details
-
getDefinitions
Gets the original definition of this data flow source or sink- Returns:
- The original definition of the source or sink. The return value may be null if this source is not modeled for a specific method or field.
-
hashCode
public int hashCode() -
equals
-
getUserData
Gets the user data to be tracked together with this source- Returns:
- The user data to be tracked together with this source
-