Package soot
Interface SootMethodInterface
-
- All Known Subinterfaces:
SootMethodRef
- All Known Implementing Classes:
PolymorphicMethodRef,SootMethod,SootMethodRefImpl
public interface SootMethodInterfaceThe common interface ofSootMethod(resolved method) andSootMethodRef(unresolved method). Therefore it allows to access the properties independently whether the method is a resolved one or not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SootClassgetDeclaringClass()StringgetName()TypegetParameterType(int i)List<Type>getParameterTypes()TypegetReturnType()StringgetSignature()booleanisStatic()
-
-
-
Method Detail
-
getDeclaringClass
SootClass getDeclaringClass()
- Returns:
- The class which declares the current
SootMethod/SootMethodRef
-
getName
String getName()
- Returns:
- Name of the method
-
getParameterType
Type getParameterType(int i)
-
getReturnType
Type getReturnType()
-
isStatic
boolean isStatic()
-
getSignature
String getSignature()
- Returns:
- The Soot signature of this method. Used to refer to methods unambiguously.
-
-