Package pascal.taie.ir.exp
Class MethodHandle
java.lang.Object
pascal.taie.ir.exp.MethodHandle
- All Implemented Interfaces:
Serializable
,Exp
,Literal
,ReferenceLiteral
,RValue
Representation of java.lang.invoke.MethodHandle instances.
A method handle is a typed, directly executable reference to an underlying
method, constructor, field or similar low-level operation.
See https://docs.oracle.com/javase/7/docs/api/java/lang/invoke/MethodHandle.html
for more details.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(ExpVisitor<T> visitor) boolean
static MethodHandle
get
(MethodHandle.Kind kind, MemberRef memberRef) getKind()
getType()
int
hashCode()
boolean
boolean
toString()
-
Method Details
-
get
-
getKind
-
isMethodRef
public boolean isMethodRef() -
getMethodRef
-
isFieldRef
public boolean isFieldRef() -
getFieldRef
-
getType
- Specified by:
getType
in interfaceExp
- Specified by:
getType
in interfaceReferenceLiteral
- Returns:
- type of this expression.
-
equals
-
hashCode
public int hashCode() -
toString
-
accept
-