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.ReturnValueProducer, 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()
Binds the suppression handler for instrumenting a specific method.
|
boolean |
equals(Object other) |
int |
hashCode() |
protected static Advice.Dispatcher.SuppressionHandler |
of(TypeDescription suppressedType)
Resolves an appropriate suppression handler.
|
String |
toString() |
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()
Advice.Dispatcher.SuppressionHandlerbind in interface Advice.Dispatcher.SuppressionHandlerCopyright © 2014–2016. All rights reserved.