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.ForField
An implementation of an
InvocationHandlerAdapter that delegates method
invocations to an adapter that is stored in an instance field. |
protected static class |
InvocationHandlerAdapter.ForInstance
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.toField(String name)
Creates an implementation for any
InvocationHandler that delegates
all method interceptions to a field with the given name. |
static InvocationHandlerAdapter |
InvocationHandlerAdapter.toField(String name,
FieldLocator.Factory fieldLocatorFactory)
Creates an implementation for any
InvocationHandler that delegates
all method interceptions to a field with the given name. |
Copyright © 2014–2017. All rights reserved.