Class AndroidCallbackDefinition
java.lang.Object
soot.jimple.infoflow.callbacks.CallbackDefinition
soot.jimple.infoflow.android.callbacks.AndroidCallbackDefinition
Data class that represents a single Android callback
- Author:
- Steven Arzt
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration containing the possible types of callbacks -
Field Summary
Fields inherited from class soot.jimple.infoflow.callbacks.CallbackDefinition
parentMethod, targetMethod -
Constructor Summary
ConstructorsConstructorDescriptionAndroidCallbackDefinition(soot.SootMethod targetMethod, soot.SootMethod parentMethod, AndroidCallbackDefinition.CallbackType callbackType) Creates a new instance of theAndroidCallbackDefinitionclass -
Method Summary
Methods inherited from class soot.jimple.infoflow.callbacks.CallbackDefinition
getParentMethod, getTargetMethod
-
Constructor Details
-
AndroidCallbackDefinition
public AndroidCallbackDefinition(soot.SootMethod targetMethod, soot.SootMethod parentMethod, AndroidCallbackDefinition.CallbackType callbackType) Creates a new instance of theAndroidCallbackDefinitionclass- Parameters:
targetMethod- The callback methodparentMethod- The parent method in the Android framework, e.g., in the callback interface methodcallbackType- The type of callback, e.g., UI callback
-
-
Method Details
-
getCallbackType
Gets the type of callback, e.g., UI callback- Returns:
- The type of callback, e.g., UI callback
-
hashCode
public int hashCode()- Overrides:
hashCodein classCallbackDefinition
-
equals
- Overrides:
equalsin classCallbackDefinition
-
toString
- Overrides:
toStringin classCallbackDefinition
-