public class SourceInfo extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected Set<AccessPath> |
accessPaths |
protected ISourceSinkDefinition |
definition |
protected Object |
userData |
| 构造器和说明 |
|---|
SourceInfo(ISourceSinkDefinition definition,
AccessPath ap)
Creates a new instance of the
SourceInfo class. |
SourceInfo(ISourceSinkDefinition definition,
AccessPath ap,
Object userData)
Creates a new instance of the
AbstractSourceSinkInfo class. |
SourceInfo(ISourceSinkDefinition definition,
Set<AccessPath> bundle)
Creates a new instance of the
SourceInfo class |
SourceInfo(ISourceSinkDefinition definition,
Set<AccessPath> bundle,
Object userData)
Creates a new instance of the
SourceInfo class |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
Set<AccessPath> |
getAccessPaths()
Returns all access paths which are tainted by this source
|
ISourceSinkDefinition |
getDefinition()
Gets the original definition of this data flow source or sink
|
Object |
getUserData()
Gets the user data to be tracked together with this source
|
int |
hashCode() |
protected final Set<AccessPath> accessPaths
protected final ISourceSinkDefinition definition
protected final Object userData
public SourceInfo(ISourceSinkDefinition definition, AccessPath ap)
SourceInfo class. This is a convenience
constructor to allow for the simple use of a single access path.
* @param definition The original definition of the source or sinkap - The single access path that shall be tainted at this sourcepublic SourceInfo(ISourceSinkDefinition definition, AccessPath ap, Object userData)
AbstractSourceSinkInfo class. This is a
convenience constructor to allow for the simple use of a single access path.definition - The original definition of the source or sinkap - The single access path that shall be tainted at this sourceuserData - Additional user data to be propagated with the sourcepublic SourceInfo(ISourceSinkDefinition definition, Set<AccessPath> bundle)
SourceInfo classdefinition - The original definition of the source or sinkbundle - Information about access paths tainted by this sourcepublic SourceInfo(ISourceSinkDefinition definition, Set<AccessPath> bundle, Object userData)
SourceInfo classdefinition - The original definition of the source or sinkbundle - Information about access paths tainted by this sourceuserData - Additional user data to be propagated with the sourcepublic Set<AccessPath> getAccessPaths()
public int hashCode()
public boolean equals(Object obj)
public Object getUserData()
public ISourceSinkDefinition getDefinition()
Copyright © 2022 Fraunhofer SIT. All rights reserved.