Package aQute.lib.aspects
Class Aspects
java.lang.Object
aQute.lib.aspects.Aspects
Minute library to do some aspect oriented programming without dragging in the
world. Should not be used for high performance things.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
A builder to create a proxy that delegates to another object but can intercept calls, put something before, after and around calls.static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Object
(package private) static final Object[]
static final Object
(package private) static MethodHandles.Lookup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Aspects.InterceptBuilder<T>
Create an intercepting proxy using a builder
-
Field Details
-
publicLookup
-
EMPTY
-
NORETURN
-
DEFAULT
-
-
Constructor Details
-
Aspects
public Aspects()
-
-
Method Details
-
intercept
Create an intercepting proxy using a builder- Parameters:
type
- the type of the proxydelegate
- the delegate to delegate to- Returns:
- a builder
-