Package | Description |
---|---|
net.bytebuddy.instrumentation |
The instrumentation package contains any logic for intercepting method calls.
|
Modifier and Type | Method and Description |
---|---|
static InvocationHandlerAdapter |
InvocationHandlerAdapter.of(InvocationHandler invocationHandler)
Creates an instrumentation for any instance of an
InvocationHandler that delegates
all method interceptions to the given instance which will be stored in a static field. |
static InvocationHandlerAdapter |
InvocationHandlerAdapter.of(InvocationHandler invocationHandler,
String fieldName)
Creates an instrumentation for any instance of an
InvocationHandler that delegates
all method interceptions to the given instance which will be stored in a static field. |
static InvocationHandlerAdapter |
InvocationHandlerAdapter.toInstanceField(String fieldName)
Creates an instrumentation for any
InvocationHandler that delegates
all method interceptions to a public instance field with the given name. |
Copyright © 2014. All rights reserved.