Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
InvocationHandlerAdapter.ForInstanceDelegation
An implementation of an
InvocationHandlerAdapter that delegates method
invocations to an adapter that is stored in an instance field. |
protected static class |
InvocationHandlerAdapter.ForStaticDelegation
An implementation of an
InvocationHandlerAdapter that delegates method
invocations to an adapter that is stored in a static field. |
Modifier and Type | Method and Description |
---|---|
static InvocationHandlerAdapter |
InvocationHandlerAdapter.of(InvocationHandler invocationHandler)
Creates an implementation 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 implementation 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 implementation for any
InvocationHandler that delegates
all method interceptions to a public instance field with the given name. |
Copyright © 2014–2016. All rights reserved.