public static enum MethodDelegationBinder.Record.Illegal extends Enum<MethodDelegationBinder.Record.Illegal> implements MethodDelegationBinder.Record
MethodDelegationBinder.Record.Illegal
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
MethodDelegationBinder.MethodBinding |
bind(Implementation.Target implementationTarget,
MethodDescription source,
MethodDelegationBinder.TerminationHandler terminationHandler,
MethodDelegationBinder.MethodInvoker methodInvoker,
Assigner assigner)
Attempts a binding of a source method to this compiled target.
|
static MethodDelegationBinder.Record.Illegal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodDelegationBinder.Record.Illegal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodDelegationBinder.Record.Illegal INSTANCE
public static MethodDelegationBinder.Record.Illegal[] values()
for (MethodDelegationBinder.Record.Illegal c : MethodDelegationBinder.Record.Illegal.values()) System.out.println(c);
public static MethodDelegationBinder.Record.Illegal valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic MethodDelegationBinder.MethodBinding bind(Implementation.Target implementationTarget, MethodDescription source, MethodDelegationBinder.TerminationHandler terminationHandler, MethodDelegationBinder.MethodInvoker methodInvoker, Assigner assigner)
bind
in interface MethodDelegationBinder.Record
implementationTarget
- The target of the current implementation onto which this binding is to be applied.source
- The method that is to be bound to the target
method.terminationHandler
- The termination handler to apply.methodInvoker
- The method invoker to use.assigner
- The assigner to use.source
method to the target
method.Copyright © 2014–2019. All rights reserved.