Package soot.jimple
Class MethodHandle
- java.lang.Object
-
- soot.jimple.Constant
-
- soot.jimple.MethodHandle
-
- All Implemented Interfaces:
Serializable,EquivTo,Immediate,ConvertToBaf,Switchable,Value
public class MethodHandle extends Constant
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMethodHandle.Kind
-
Field Summary
Fields Modifier and Type Field Description protected SootFieldReffieldRefprotected intkindprotected SootMethodRefmethodRef
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Called when this object is visited.booleanequals(Object obj)SootFieldRefgetFieldRef()intgetKind()StringgetKindString()SootMethodRefgetMethodRef()TypegetType()Returns the Soot type of this Value.inthashCode()booleanisFieldRef()static booleanisFieldRef(int kind)booleanisMethodRef()static booleanisMethodRef(int kind)StringtoString()static MethodHandlev(SootFieldRef ref, int kind)static MethodHandlev(SootMethodRef ref, int kind)-
Methods inherited from class soot.jimple.Constant
clone, convertToBaf, equivHashCode, equivTo, getUseBoxes, toString
-
-
-
-
Field Detail
-
fieldRef
protected final SootFieldRef fieldRef
-
methodRef
protected final SootMethodRef methodRef
-
kind
protected final int kind
-
-
Method Detail
-
v
public static MethodHandle v(SootMethodRef ref, int kind)
-
v
public static MethodHandle v(SootFieldRef ref, int kind)
-
getType
public Type getType()
Description copied from interface:ValueReturns the Soot type of this Value.
-
getMethodRef
public SootMethodRef getMethodRef()
-
getFieldRef
public SootFieldRef getFieldRef()
-
getKind
public int getKind()
-
getKindString
public String getKindString()
-
isFieldRef
public boolean isFieldRef()
-
isFieldRef
public static boolean isFieldRef(int kind)
-
isMethodRef
public boolean isMethodRef()
-
isMethodRef
public static boolean isMethodRef(int kind)
-
apply
public void apply(Switch sw)
Description copied from interface:SwitchableCalled when this object is visited.
-
-