public static interface MemberSubstitution.Replacement.Binding
| Modifier and Type | Interface and Description |
|---|---|
static class |
MemberSubstitution.Replacement.Binding.ForDynamicInvocation
A binding that was resolved for an invokedynamic expression.
|
static class |
MemberSubstitution.Replacement.Binding.ForMember
A binding that was resolved for a field or method expression.
|
static class |
MemberSubstitution.Replacement.Binding.Unresolved
An unresolved binding.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBound()
Returns
true if this binding is resolved. |
StackManipulation |
make(TypeList.Generic parameters,
TypeDescription.Generic result,
JavaConstant.MethodHandle methodHandle,
StackManipulation stackManipulation,
int freeOffset)
Creates a stack manipulation that represents the substitution.
|
boolean isBound()
true if this binding is resolved.true if this binding is resolved.StackManipulation make(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)
parameters - The parameters that are accessible to the substitution target.result - The result that is expected from the substitution target or void if none is expected.methodHandle - A method handle that represents the original expression that is being substituted.stackManipulation - The original byte code expression that is being substituted.freeOffset - The first offset that can be used for storing local variables.Copyright © 2014–2025. All rights reserved.