public static enum TargetMethodAnnotationDrivenBinder.TerminationHandler.Dropping extends Enum<TargetMethodAnnotationDrivenBinder.TerminationHandler.Dropping> implements TargetMethodAnnotationDrivenBinder.TerminationHandler
TargetMethodAnnotationDrivenBinder.TerminationHandler.Dropping, TargetMethodAnnotationDrivenBinder.TerminationHandler.Returning
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
resolve(Assigner assigner,
MethodDescription source,
MethodDescription target)
Creates a stack manipulation that is to be applied after the method return.
|
String |
toString() |
static TargetMethodAnnotationDrivenBinder.TerminationHandler.Dropping |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetMethodAnnotationDrivenBinder.TerminationHandler.Dropping[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetMethodAnnotationDrivenBinder.TerminationHandler.Dropping INSTANCE
public static TargetMethodAnnotationDrivenBinder.TerminationHandler.Dropping[] values()
for (TargetMethodAnnotationDrivenBinder.TerminationHandler.Dropping c : TargetMethodAnnotationDrivenBinder.TerminationHandler.Dropping.values()) System.out.println(c);
public static TargetMethodAnnotationDrivenBinder.TerminationHandler.Dropping 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 StackManipulation resolve(Assigner assigner, MethodDescription source, MethodDescription target)
TargetMethodAnnotationDrivenBinder.TerminationHandler
resolve
in interface TargetMethodAnnotationDrivenBinder.TerminationHandler
assigner
- The supplied assigner.source
- The source method that is bound to the target
method.target
- The target method that is subject to be bound by the source
method.public String toString()
toString
in class Enum<TargetMethodAnnotationDrivenBinder.TerminationHandler.Dropping>
Copyright © 2014–2016. All rights reserved.