@HashCodeAndEqualsPlugin.Enhance public static class Advice.Dispatcher.SuppressionHandler.Suppressing extends Object implements Advice.Dispatcher.SuppressionHandler
Modifier and Type | Class and Description |
---|---|
protected static class |
Advice.Dispatcher.SuppressionHandler.Suppressing.Bound
An active, bound suppression handler.
|
Advice.Dispatcher.SuppressionHandler.NoOp, Advice.Dispatcher.SuppressionHandler.Suppressing
Modifier | Constructor and Description |
---|---|
protected |
Suppressing(TypeDescription suppressedType)
Creates a new suppressing suppression handler.
|
Modifier and Type | Method and Description |
---|---|
Advice.Dispatcher.SuppressionHandler.Bound |
bind(StackManipulation exceptionHandler)
Binds the suppression handler for instrumenting a specific method.
|
protected static Advice.Dispatcher.SuppressionHandler |
of(TypeDescription suppressedType)
Resolves an appropriate suppression handler.
|
protected Suppressing(TypeDescription suppressedType)
suppressedType
- The suppressed throwable type.protected static Advice.Dispatcher.SuppressionHandler of(TypeDescription suppressedType)
suppressedType
- The suppressed type or NoExceptionHandler
if no type should be suppressed.public Advice.Dispatcher.SuppressionHandler.Bound bind(StackManipulation exceptionHandler)
bind
in interface Advice.Dispatcher.SuppressionHandler
exceptionHandler
- The stack manipulation to apply within a suppression handler.Copyright © 2014–2024. All rights reserved.