Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Field and Description |
---|---|
private InvokeDynamic.InvocationProvider.ArgumentProvider |
InvokeDynamic.WithImplicitType.OfInstance.argumentProvider
An argument provider that represents the argument with an implicit type.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<InvokeDynamic.InvocationProvider.ArgumentProvider> |
InvokeDynamic.InvocationProvider.Default.argumentProviders
The providers for the method arguments in their order.
|
private java.util.List<InvokeDynamic.InvocationProvider.ArgumentProvider> |
InvokeDynamic.InvocationProvider.Default.Target.argumentProviders
The arguments to be passed to the bootstrap method.
|
Modifier and Type | Method and Description |
---|---|
protected abstract InvokeDynamic.InvocationProvider.ArgumentProvider |
InvokeDynamic.InvocationProvider.ArgumentProvider.ConstantPoolWrapper.make(java.lang.Object value)
Creates an argument provider for a given primitive value.
|
static InvokeDynamic.InvocationProvider.ArgumentProvider |
InvokeDynamic.InvocationProvider.ArgumentProvider.ConstantPoolWrapper.of(java.lang.Object value)
Represents the given value by a constant pool value or as a field if this is not possible.
|
protected static InvokeDynamic.InvocationProvider.ArgumentProvider |
InvokeDynamic.InvocationProvider.ArgumentProvider.ForInstance.of(java.lang.Object value)
Creates a new argument provider that stores the given value in a static field of the instance type.
|
Modifier and Type | Method and Description |
---|---|
InvokeDynamic.InvocationProvider |
InvokeDynamic.InvocationProvider.appendArgument(InvokeDynamic.InvocationProvider.ArgumentProvider argumentProvider)
Appends the given argument to the invocation to be loaded onto the operand stack.
|
InvokeDynamic.InvocationProvider |
InvokeDynamic.InvocationProvider.Default.appendArgument(InvokeDynamic.InvocationProvider.ArgumentProvider argumentProvider)
Appends the given argument to the invocation to be loaded onto the operand stack.
|
Modifier and Type | Method and Description |
---|---|
InvokeDynamic.InvocationProvider |
InvokeDynamic.InvocationProvider.appendArguments(java.util.List<InvokeDynamic.InvocationProvider.ArgumentProvider> argumentProviders)
Appends the given arguments to the invocation to be loaded onto the operand stack.
|
InvokeDynamic.InvocationProvider |
InvokeDynamic.InvocationProvider.Default.appendArguments(java.util.List<InvokeDynamic.InvocationProvider.ArgumentProvider> argumentProviders)
Appends the given arguments to the invocation to be loaded onto the operand stack.
|
Constructor and Description |
---|
Default(InvokeDynamic.InvocationProvider.NameProvider nameProvider,
InvokeDynamic.InvocationProvider.ReturnTypeProvider returnTypeProvider,
java.util.List<InvokeDynamic.InvocationProvider.ArgumentProvider> argumentProviders)
Creates a new default invocation provider.
|
Target(java.lang.String internalName,
TypeDescription returnType,
java.util.List<InvokeDynamic.InvocationProvider.ArgumentProvider> argumentProviders,
MethodDescription instrumentedMethod)
Creates a new target.
|