Package soot.jimple.infoflow.callbacks
Class CallbackDefinition
java.lang.Object
soot.jimple.infoflow.callbacks.CallbackDefinition
A base class for callbacks.
- Author:
- Steven Arzt, Marc Miltenberger
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final soot.SootMethodprotected final soot.SootMethod -
Constructor Summary
ConstructorsConstructorDescriptionCallbackDefinition(soot.SootMethod targetMethod, soot.SootMethod parentMethod) Creates a new instance of theCallbackDefinitionclass -
Method Summary
-
Field Details
-
targetMethod
protected final soot.SootMethod targetMethod -
parentMethod
protected final soot.SootMethod parentMethod
-
-
Constructor Details
-
CallbackDefinition
public CallbackDefinition(soot.SootMethod targetMethod, soot.SootMethod parentMethod) Creates a new instance of theCallbackDefinitionclass- Parameters:
targetMethod- The callback methodparentMethod- The parent method in the Android framework, e.g., in the callback interface method
-
-
Method Details
-
getTargetMethod
public soot.SootMethod getTargetMethod()Gets the callback method represented by this data object- Returns:
- The callback method represented by this data object
-
getParentMethod
public soot.SootMethod getParentMethod()Gets the parent method in the Android framework that causes the target method to be a callback. The parent is usually the method in the framework's callback interface.- Returns:
- The parent method in the Android framework
-
hashCode
public int hashCode() -
equals
-
toString
-