Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
MethodCall.ArgumentLoader.ForField.Factory
A factory for an argument loaded that loads the value of an existing field as an argument.
|
protected static class |
MethodCall.ArgumentLoader.ForInstance.Factory
A factory that supplies the value of a static field as an argument.
|
static class |
MethodCall.ArgumentLoader.ForInstrumentedType.Factory
A factory for an argument loader that supplies the instrumented type as an argument.
|
protected static class |
MethodCall.ArgumentLoader.ForMethodCall.Factory
A factory for an argument loaded that loads the return value of a method call as an argument.
|
protected static class |
MethodCall.ArgumentLoader.ForMethodParameter.Factory
A factory for an argument loader that supplies a method parameter as an argument.
|
protected static class |
MethodCall.ArgumentLoader.ForMethodParameter.OfInstrumentedMethod
A factory for argument loaders that supplies all arguments of the instrumented method as arguments.
|
static class |
MethodCall.ArgumentLoader.ForMethodParameterArray.ForInstrumentedMethod
A factory that creates an arguments loader that loads all parameters of the instrumented method contained in an array.
|
static class |
MethodCall.ArgumentLoader.ForMethodParameterArrayElement.OfInvokedMethod
An argument loader factory that loads an array element from a parameter for each argument of the invoked method.
|
static class |
MethodCall.ArgumentLoader.ForMethodParameterArrayElement.OfParameter
Creates an argument loader for an array element that of a specific parameter.
|
static class |
MethodCall.ArgumentLoader.ForNullConstant
An argument loader that loads the
null value onto the operand stack. |
static class |
MethodCall.ArgumentLoader.ForStackManipulation
Loads a stack manipulation resulting in a specific type as an argument.
|
static class |
MethodCall.ArgumentLoader.ForThisReference.Factory
A factory for an argument loader that supplies the
this value as an argument. |
Modifier and Type | Field and Description |
---|---|
protected List<MethodCall.ArgumentLoader.Factory> |
MethodCall.argumentLoaders
The argument loader to load arguments onto the operand stack in their application order.
|
Modifier and Type | Method and Description |
---|---|
static MethodCall.ArgumentLoader.Factory |
MethodCall.ArgumentLoader.ForStackManipulation.of(Object value)
Creates an argument loader that loads the supplied value as a constant.
|
Modifier and Type | Method and Description |
---|---|
MethodCall |
MethodCall.with(MethodCall.ArgumentLoader.Factory... argumentLoader)
Defines a method call that resolves arguments by the supplied argument loader factories.
|
Modifier and Type | Method and Description |
---|---|
MethodCall |
MethodCall.with(List<? extends MethodCall.ArgumentLoader.Factory> argumentLoaders)
Defines a method call that resolves arguments by the supplied argument loader factories.
|
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.
|
Copyright © 2014–2020. All rights reserved.