Package crypto.utils
Class SootUtils
- java.lang.Object
-
- crypto.utils.SootUtils
-
public class SootUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description SootUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boomerang.scene.jimple.JimpleTypegetParameterType(boomerang.scene.DeclaredMethod declaredMethod, int position)static List<boomerang.scene.jimple.JimpleType>getParameterTypes(boomerang.scene.DeclaredMethod declaredMethod)static booleanisSubtype(String childClass, String parentClass)Returns whether parent is a super type of child, i.e.
-
-
-
Method Detail
-
getParameterTypes
public static List<boomerang.scene.jimple.JimpleType> getParameterTypes(boomerang.scene.DeclaredMethod declaredMethod)
-
getParameterType
public static boomerang.scene.jimple.JimpleType getParameterType(boomerang.scene.DeclaredMethod declaredMethod, int position)
-
isSubtype
public static boolean isSubtype(String childClass, String parentClass)
Returns whether parent is a super type of child, i.e. if they are the same, child implements or extends parent transitively.- Parameters:
childClass- the child to checkparentClass- the parent to check against- Returns:
- true, if parent is a super type of child
-
-