public class Aspects extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Aspects.InterceptBuilder<T>
A builder to create a proxy that delegates to another object but can
intercept calls, put something before, after and around calls.
|
static class |
Aspects.Invocation |
| Modifier and Type | Field and Description |
|---|---|
static Object |
DEFAULT |
static Object |
NORETURN |
| Constructor and Description |
|---|
Aspects() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Aspects.InterceptBuilder<T> |
intercept(Class<T> type,
T delegate)
Create an intercepting proxy using a builder
|
public static final Object NORETURN
public static final Object DEFAULT
public static <T> Aspects.InterceptBuilder<T> intercept(Class<T> type, T delegate)
type - the type of the proxydelegate - the delegate to delegate toCopyright © 2021. All rights reserved.