public static enum Advice.PostProcessor.NoOp extends Enum<Advice.PostProcessor.NoOp> implements Advice.PostProcessor, Advice.PostProcessor.Factory
Advice.PostProcessor.Compound, Advice.PostProcessor.Factory, Advice.PostProcessor.NoOp
Advice.PostProcessor.Factory.Compound
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
Advice.PostProcessor |
make(List<? extends AnnotationDescription> annotations,
TypeDescription returnType,
boolean exit)
Creates a post processor for a given advice method.
|
StackManipulation |
resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
Assigner assigner,
Advice.ArgumentHandler argumentHandler,
Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler,
StackManipulation exceptionHandler)
Resolves this post processor for a given instrumented method.
|
static Advice.PostProcessor.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Advice.PostProcessor.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Advice.PostProcessor.NoOp INSTANCE
public static Advice.PostProcessor.NoOp[] values()
for (Advice.PostProcessor.NoOp c : Advice.PostProcessor.NoOp.values()) System.out.println(c);
public static Advice.PostProcessor.NoOp 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(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler)
resolve
in interface Advice.PostProcessor
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.assigner
- The assigner to use.argumentHandler
- The argument handler to use.stackMapFrameHandler
- The argument handler for the instrumented method.exceptionHandler
- The exception handler that is resolved for the instrumented method.public Advice.PostProcessor make(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit)
make
in interface Advice.PostProcessor.Factory
annotations
- The annotations of the advice method.returnType
- The advice method's return type that is being post-processed.exit
- true
if the advice is exit advice.Copyright © 2014–2025. All rights reserved.