public class MethodHandle extends Constant
| Modifier and Type | Class and Description |
|---|---|
static class |
MethodHandle.Kind |
| Modifier and Type | Field and Description |
|---|---|
protected SootFieldRef |
fieldRef |
protected int |
kind |
protected SootMethodRef |
methodRef |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Switch sw)
Called when this object is visited.
|
boolean |
equals(Object obj) |
SootFieldRef |
getFieldRef() |
int |
getKind() |
String |
getKindString() |
SootMethodRef |
getMethodRef() |
Type |
getType()
Returns the Soot type of this Value.
|
int |
hashCode() |
boolean |
isFieldRef() |
static boolean |
isFieldRef(int kind) |
boolean |
isMethodRef() |
static boolean |
isMethodRef(int kind) |
String |
toString() |
static MethodHandle |
v(SootFieldRef ref,
int kind) |
static MethodHandle |
v(SootMethodRef ref,
int kind) |
clone, convertToBaf, equivHashCode, equivTo, getUseBoxes, toStringprotected final SootFieldRef fieldRef
protected final SootMethodRef methodRef
protected final int kind
public static MethodHandle v(SootMethodRef ref, int kind)
public static MethodHandle v(SootFieldRef ref, int kind)
public Type getType()
Valuepublic SootMethodRef getMethodRef()
public SootFieldRef getFieldRef()
public int getKind()
public String getKindString()
public boolean isFieldRef()
public static boolean isFieldRef(int kind)
public boolean isMethodRef()
public static boolean isMethodRef(int kind)
public void apply(Switch sw)
SwitchableCopyright © 2024 Soot OSS. All rights reserved.