Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Class and Description |
---|---|
static class |
MethodCall.MethodLocator.ForElementMatcher.Factory
A factory for a method locator that uses a matcher on the instrumented type's available methods for identifing a target method.
|
static class |
MethodCall.MethodLocator.ForExplicitMethod
Invokes a given method.
|
static class |
MethodCall.MethodLocator.ForInstrumentedMethod
A method locator that simply returns the intercepted method.
|
Modifier and Type | Field and Description |
---|---|
protected MethodCall.MethodLocator.Factory |
MethodCall.methodLocator
The method locator to use.
|
Modifier and Type | Method and Description |
---|---|
static MethodCall.WithoutSpecifiedTarget |
MethodCall.invoke(MethodCall.MethodLocator.Factory methodLocator)
Invokes a method using the provided method locator.
|
Constructor and Description |
---|
MethodCall(MethodCall.MethodLocator.Factory methodLocator,
MethodCall.TargetHandler.Factory targetHandler,
List<MethodCall.ArgumentLoader.Factory> argumentLoaders,
MethodCall.MethodInvoker.Factory methodInvoker,
MethodCall.TerminationHandler.Factory terminationHandler,
Assigner assigner,
Assigner.Typing typing)
Creates a new method call implementation.
|
WithoutSpecifiedTarget(MethodCall.MethodLocator.Factory methodLocator)
Creates a new method call without a specified target.
|
Copyright © 2014–2019. All rights reserved.