public static class MemberSubstitution.Target.ForDynamicInvocation extends Object implements MemberSubstitution.Target
MemberSubstitution.Target.ForDynamicInvocation, MemberSubstitution.Target.ForMember
Modifier | Constructor and Description |
---|---|
protected |
ForDynamicInvocation(JavaConstant.MethodType methodType,
String name,
List<? extends JavaConstant> arguments)
Creates a new target for an invokedynamic instruction.
|
Modifier and Type | Method and Description |
---|---|
List<? extends JavaConstant> |
getArguments()
Returns the constant arguments that are provided to the invokedynamic instruction.
|
JavaConstant.MethodType |
getMethodType()
Returns the requested type of the target for the invokedynamic instruction.
|
String |
getName()
Returns the (internal) name of the target.
|
boolean |
isStaticDispatch()
Determines if the target is dispatched statically.
|
protected ForDynamicInvocation(JavaConstant.MethodType methodType, String name, List<? extends JavaConstant> arguments)
methodType
- The requested type of the target for the invokedynamic instruction.name
- The name that is expected for the bound target.arguments
- The constant arguments that are provided to the invokedynamic instruction.public boolean isStaticDispatch()
isStaticDispatch
in interface MemberSubstitution.Target
true
if the target is dispatched statically.public JavaConstant.MethodType getMethodType()
public String getName()
getName
in interface MemberSubstitution.Target
public List<? extends JavaConstant> getArguments()
Copyright © 2014–2025. All rights reserved.