public static class MethodDelegation.ImplementationDelegate.Resolution extends Object
Modifier | Constructor and Description |
---|---|
protected |
Resolution(MethodList<?> candidates)
Creates a new resolution.
|
protected |
Resolution(MethodList<?> candidates,
StackManipulation preparation,
MethodDelegationBinder.MethodInvoker methodInvoker)
Creates a new resolution.
|
protected |
Resolution(MethodList<?> candidates,
StackManipulation preparation,
MethodDelegationBinder.MethodInvoker methodInvoker,
boolean allowStaticMethods)
Creates a new resolution.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
protected MethodList<?> |
getCandidates()
Returns a list of all candidate methods.
|
protected MethodDelegationBinder.MethodInvoker |
getMethodInvoker()
Return a method invoker for calling the delegation method.
|
protected StackManipulation |
getPreparation()
Return a stack manipulation that prepares the delegation before loading its arguments.
|
int |
hashCode() |
protected boolean |
isAllowStaticMethod()
Returns
true if this resolution permits delegation from static methods. |
String |
toString() |
protected Resolution(MethodList<?> candidates)
candidates
- A list of all candidate methods.protected Resolution(MethodList<?> candidates, StackManipulation preparation, MethodDelegationBinder.MethodInvoker methodInvoker)
candidates
- A list of all candidate methods.preparation
- A stack manipulation that prepares the delegation before loading its arguments.methodInvoker
- A method invoker for calling the delegation method.protected Resolution(MethodList<?> candidates, StackManipulation preparation, MethodDelegationBinder.MethodInvoker methodInvoker, boolean allowStaticMethods)
candidates
- A list of all candidate methods.preparation
- A stack manipulation that prepares the delegation before loading its arguments.methodInvoker
- A method invoker for calling the delegation method.allowStaticMethods
- true
if this resolution permits delegation from static methods.protected MethodList<?> getCandidates()
protected StackManipulation getPreparation()
protected MethodDelegationBinder.MethodInvoker getMethodInvoker()
protected boolean isAllowStaticMethod()
true
if this resolution permits delegation from static methods.true
if this resolution permits delegation from static methods.Copyright © 2014–2016. All rights reserved.