@HashCodeAndEqualsPlugin.Enhance public static class Advice.AssignReturned.ExceptionHandler.Factory.Enabled extends Object implements Advice.AssignReturned.ExceptionHandler.Factory
Advice.AssignReturned.ExceptionHandler.Factory.Enabled, Advice.AssignReturned.ExceptionHandler.Factory.NoOp
Modifier | Constructor and Description |
---|---|
protected |
Enabled(TypeDescription exceptionType)
Creates a factory for an exception handler of the supplied exception type.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
wrap(StackManipulation stackManipulation,
StackManipulation exceptionHandler,
Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler)
Wraps the supplied stack manipulation.
|
protected Enabled(TypeDescription exceptionType)
exceptionType
- The exception type being handled.public StackManipulation wrap(StackManipulation stackManipulation, StackManipulation exceptionHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler)
wrap
in interface Advice.AssignReturned.ExceptionHandler.Factory
stackManipulation
- The stack manipulation that represents the assignment.exceptionHandler
- The exception handler to apply.stackMapFrameHandler
- The stack map frame handler to use.Copyright © 2014–2022. All rights reserved.