Package soot.jimple.infoflow.rifl
Class RIFLDocument.JavaFieldSpec
java.lang.Object
soot.jimple.infoflow.rifl.RIFLDocument.SourceSinkSpec
soot.jimple.infoflow.rifl.RIFLDocument.JavaSourceSinkSpec
soot.jimple.infoflow.rifl.RIFLDocument.JavaFieldSpec
- Enclosing class:
- RIFLDocument
Class that models a static field in Java specified as a source or sink
in RIFL
-
Field Summary
Fields inherited from class soot.jimple.infoflow.rifl.RIFLDocument.SourceSinkSpec
type -
Constructor Summary
ConstructorsConstructorDescriptionJavaFieldSpec(RIFLDocument.SourceSinkType type, String className, String fieldName) Creates a new instance of theRIFLDocument.JavaFieldSpecclass -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the name of the static field to be treated as a source or sinkinthashCode()Methods inherited from class soot.jimple.infoflow.rifl.RIFLDocument.JavaSourceSinkSpec
getClassNameMethods inherited from class soot.jimple.infoflow.rifl.RIFLDocument.SourceSinkSpec
getType
-
Constructor Details
-
JavaFieldSpec
Creates a new instance of theRIFLDocument.JavaFieldSpecclass- Parameters:
type- Specifies whether this element is a source or a sinkclassName- The name of the class containing the static field to be defined as a source or sink.fieldName- The name of the static field to be treated as a source or sink
-
-
Method Details
-
getFieldName
Gets the name of the static field to be treated as a source or sink- Returns:
- The name of the static field to be treated as a source or sink
-
hashCode
public int hashCode()- Overrides:
hashCodein classRIFLDocument.JavaSourceSinkSpec
-
equals
- Overrides:
equalsin classRIFLDocument.JavaSourceSinkSpec
-