public class MethodHandlePlugin extends Object implements NodePlugin
| Modifier and Type | Field and Description |
|---|---|
private MethodHandleAccessProvider |
methodHandleAccess |
| Constructor and Description |
|---|
MethodHandlePlugin(MethodHandleAccessProvider methodHandleAccess) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleInvoke(GraphBuilderContext b,
ResolvedJavaMethod method,
ValueNode[] args)
Handle the parsing of a method invocation bytecode to a method that can be bound statically.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanChangeStackKind, handleCheckCast, handleInstanceOf, handleLoadField, handleLoadIndexed, handleLoadStaticField, handleStoreField, handleStoreIndexed, handleStoreStaticFieldprivate final MethodHandleAccessProvider methodHandleAccess
public MethodHandlePlugin(MethodHandleAccessProvider methodHandleAccess)
public boolean handleInvoke(GraphBuilderContext b, ResolvedJavaMethod method, ValueNode[] args)
NodePluginpush a value as the
result of the method invocation using the return kind of the
method.handleInvoke in interface NodePluginb - the contextmethod - the statically bound, invoked methodargs - the arguments of the method invocation