public static enum MethodDelegationBinder.TerminationHandler.Default extends Enum<MethodDelegationBinder.TerminationHandler.Default> implements MethodDelegationBinder.TerminationHandler
StackManipulation
that is applied after the interception method is applied.MethodDelegationBinder.TerminationHandler.Default| Enum Constant and Description |
|---|
DROPPING
A termination handler that drops the delegate method's return value.
|
RETURNING
A termination handler that returns the delegate method's return value.
|
| Modifier and Type | Method and Description |
|---|---|
static MethodDelegationBinder.TerminationHandler.Default |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodDelegationBinder.TerminationHandler.Default[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfresolvepublic static final MethodDelegationBinder.TerminationHandler.Default RETURNING
public static final MethodDelegationBinder.TerminationHandler.Default DROPPING
public static MethodDelegationBinder.TerminationHandler.Default[] values()
for (MethodDelegationBinder.TerminationHandler.Default c : MethodDelegationBinder.TerminationHandler.Default.values()) System.out.println(c);
public static MethodDelegationBinder.TerminationHandler.Default 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 nullCopyright © 2014–2025. All rights reserved.