| Package | Description |
|---|---|
| net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
| net.bytebuddy.implementation.bytecode.constant |
StackManipulations in this package are responsible for
creating compile-time constants and pushing them onto the operand stack. |
| net.bytebuddy.utility |
This package contains utility classes for common use within any Byte Buddy logic.
|
| Modifier and Type | Method and Description |
|---|---|
static FixedValue.AssignerConfigurable |
FixedValue.value(JavaConstant fixedValue)
Returns the loaded version of the given
JavaConstant. |
MethodCall |
MethodCall.with(JavaConstant... javaConstant)
Defines the given Java instances to be provided as arguments to the invoked method where the given
instances are stored in the generated class's constant pool.
|
InvokeDynamic |
InvokeDynamic.withInstance(JavaConstant... javaConstant)
Hands the provided Java instance to the dynamically bound method.
|
InvokeDynamic |
InvokeDynamic.AbstractDelegator.withInstance(JavaConstant... javaConstant) |
| Constructor and Description |
|---|
ForJavaConstant(JavaConstant javaConstant)
Creates a new argument provider for the given Java instance.
|
ForJavaConstant(JavaConstant javaConstant)
Creates a new argument loader for a Java instance.
|
| Constructor and Description |
|---|
JavaConstantValue(JavaConstant javaConstant)
Creates a constant pool value representing a
JavaConstant. |
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaConstant.MethodHandle
Represents a
java.lang.invoke.MethodHandle object. |
static class |
JavaConstant.MethodType
Represents a
java.lang.invoke.MethodType object. |
Copyright © 2014–2016. All rights reserved.