java.lang.Object
soot.jimple.infoflow.sourcesSinks.manager.SinkInfo

public class SinkInfo extends Object
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 Details

    • userData

      protected final Object userData
  • Constructor Details

    • SinkInfo

      public SinkInfo(Collection<ISourceSinkDefinition> definitions, Object userData)
      Creates a new instance of the AbstractSourceSinkInfo class.
      Parameters:
      definitions - The original definition of the source or sink
      userData - Additional user data to be propagated with the source
    • SinkInfo

      public SinkInfo(Collection<ISourceSinkDefinition> definitions)
      Creates a new instance of the AbstractSourceSinkInfo class.
      Parameters:
      definitions - The original definition of the source or sink
    • SinkInfo

      public SinkInfo(ISourceSinkDefinition definition)
      Creates a new instance of the AbstractSourceSinkInfo class.
      Parameters:
      definition - The original definition of the source or sink
    • SinkInfo

      public SinkInfo()
      Creates a new instance of the AbstractSourceSinkInfo class.
  • Method Details

    • getDefinitions

      public Collection<ISourceSinkDefinition> 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

      public boolean equals(Object obj)
    • getUserData

      public Object getUserData()
      Gets the user data to be tracked together with this source
      Returns:
      The user data to be tracked together with this source