| Package | Description |
|---|---|
| aQute.lib.aspects |
| Modifier and Type | Method and Description |
|---|---|
Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.after(BiFunctionWithException<Aspects.Invocation,Object,Object> after)
Provide a function that is called after the method is called.
|
Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.around(BiFunctionWithException<Aspects.Invocation,Callable<Object>,Object> around)
Provide a function that is called with the method calling function.
|
Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.before(ConsumerWithException<Aspects.Invocation> before)
Provide a function that is called before the method is called.
|
Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.intercept(FunctionWithException<Aspects.Invocation,Object> intercept,
String name,
Class<?>... types)
Intercept a method call with a lambda.
|
Aspects.InterceptBuilder<T> |
Aspects.InterceptBuilder.onException(BiFunctionWithException<Aspects.Invocation,Throwable,Object> exception)
Called when an exception occurs
|
Copyright © 2021. All rights reserved.