@HashCodeAndEqualsPlugin.Enhance public static class MethodDelegation.ImplementationDelegate.Compiled.ForStaticCall extends java.lang.Object implements MethodDelegation.ImplementationDelegate.Compiled
MethodDelegation.ImplementationDelegate.Compiled.ForConstruction, MethodDelegation.ImplementationDelegate.Compiled.ForField, MethodDelegation.ImplementationDelegate.Compiled.ForMethodReturn, MethodDelegation.ImplementationDelegate.Compiled.ForStaticCall| Modifier and Type | Field and Description |
|---|---|
private java.util.List<MethodDelegationBinder.Record> |
records
The list of records to consider.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ForStaticCall(java.util.List<MethodDelegationBinder.Record> records)
Creates a new compiled implementation delegate for a static method call.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<MethodDelegationBinder.Record> |
getRecords()
Returns a list of binding records to consider for delegation.
|
MethodDelegationBinder.MethodInvoker |
invoke()
Resolves an invoker to use for invoking the delegation target.
|
StackManipulation |
prepare(MethodDescription instrumentedMethod)
Resolves a stack manipulation that prepares the delegation invocation.
|
private final java.util.List<MethodDelegationBinder.Record> records
protected ForStaticCall(java.util.List<MethodDelegationBinder.Record> records)
records - The list of records to consider.public StackManipulation prepare(MethodDescription instrumentedMethod)
prepare in interface MethodDelegation.ImplementationDelegate.CompiledinstrumentedMethod - The instrumented method.public MethodDelegationBinder.MethodInvoker invoke()
invoke in interface MethodDelegation.ImplementationDelegate.Compiledpublic java.util.List<MethodDelegationBinder.Record> getRecords()
getRecords in interface MethodDelegation.ImplementationDelegate.Compiled