Class AbstractSourceSinkDefinition
java.lang.Object
soot.jimple.infoflow.sourcesSinks.definitions.AbstractSourceSinkDefinition
- All Implemented Interfaces:
ISourceSinkDefinition
- Direct Known Subclasses:
ConditionalSecondarySourceDefinition,FieldSourceSinkDefinition,MethodSourceSinkDefinition,SecondarySinkDefinition,StatementSourceSinkDefinition
A class to handle all access paths of sources and sinks for a certain method.
- Author:
- Daniel Magin, Steven Arzt
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ISourceSinkCategoryprotected Set<SourceSinkCondition> -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the category to which this source or sink belongaGets the conditions under which the source/sink definition is validinthashCode()voidsetCategory(ISourceSinkCategory category) Sets the category to which this source or sink belongsvoidsetConditions(Set<SourceSinkCondition> conditions) Sets the conditions under which the source/sink definition is validMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface soot.jimple.infoflow.sourcesSinks.definitions.ISourceSinkDefinition
getSinkOnlyDefinition, getSourceOnlyDefinition, isEmpty
-
Field Details
-
category
-
conditions
-
-
Constructor Details
-
AbstractSourceSinkDefinition
public AbstractSourceSinkDefinition() -
AbstractSourceSinkDefinition
-
-
Method Details
-
setCategory
Description copied from interface:ISourceSinkDefinitionSets the category to which this source or sink belongs- Specified by:
setCategoryin interfaceISourceSinkDefinition- Parameters:
category- The category to which this source or sink belongs
-
getCategory
Description copied from interface:ISourceSinkDefinitionGets the category to which this source or sink belonga- Specified by:
getCategoryin interfaceISourceSinkDefinition- Returns:
- The category to which this source or sink belonga
-
getConditions
Description copied from interface:ISourceSinkDefinitionGets the conditions under which the source/sink definition is valid- Specified by:
getConditionsin interfaceISourceSinkDefinition- Returns:
- A set with the conditions under which the source/sink definition is
valid, optionally
nullif no such conditions exist
-
setConditions
Description copied from interface:ISourceSinkDefinitionSets the conditions under which the source/sink definition is valid- Specified by:
setConditionsin interfaceISourceSinkDefinition- Parameters:
conditions- A set with the conditions under which the source/sink definition is valid, optionallynullif no such conditions exist
-
hashCode
public int hashCode() -
equals
-