public class SootMethodRefImpl extends java.lang.Object implements SootMethodRef
Modifier and Type | Class and Description |
---|---|
class |
SootMethodRefImpl.ClassResolutionFailedException |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Type> |
parameterTypes |
Constructor and Description |
---|
SootMethodRefImpl(SootClass declaringClass,
java.lang.String name,
java.util.List<Type> parameterTypes,
Type returnType,
boolean isStatic) |
Modifier and Type | Method and Description |
---|---|
SootClass |
declaringClass() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSignature() |
NumberedString |
getSubSignature() |
int |
hashCode() |
boolean |
isStatic() |
java.lang.String |
name() |
Type |
parameterType(int i) |
java.util.List<Type> |
parameterTypes() |
SootMethod |
resolve()
Resolves this method call, i.e., finds the method to which this reference
points.
|
Type |
returnType() |
java.lang.String |
toString() |
SootMethod |
tryResolve()
Tries to resolve this method call, i.e., tries to finds the method to
which this reference points.
|
protected java.util.List<Type> parameterTypes
public SootClass declaringClass()
declaringClass
in interface SootMethodRef
public java.lang.String name()
name
in interface SootMethodRef
public java.util.List<Type> parameterTypes()
parameterTypes
in interface SootMethodRef
public Type returnType()
returnType
in interface SootMethodRef
public boolean isStatic()
isStatic
in interface SootMethodRef
public NumberedString getSubSignature()
getSubSignature
in interface SootMethodRef
public java.lang.String getSignature()
getSignature
in interface SootMethodRef
public Type parameterType(int i)
parameterType
in interface SootMethodRef
public SootMethod resolve()
SootMethodRef
resolve
in interface SootMethodRef
public SootMethod tryResolve()
SootMethodRef
tryResolve
in interface SootMethodRef
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object