Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
FixedValue.ForArgument
A fixed value implementation that returns a method's argument.
|
protected static class |
FixedValue.ForConstantValue
A fixed value implementation that represents its fixed value as a constant pool value or a byte code instruction.
|
protected static class |
FixedValue.ForOriginType
A fixed value that appends the origin type of the instrumented type.
|
protected static class |
FixedValue.ForThisValue
A fixed value of
this . |
protected static class |
FixedValue.ForValue
A fixed value implementation that represents its fixed value as a static field of the instrumented class.
|
Modifier and Type | Method and Description |
---|---|
static FixedValue.AssignerConfigurable |
FixedValue.argument(int index)
Returns the argument at the specified index.
|
static FixedValue.AssignerConfigurable |
FixedValue.originType()
Returns the origin type from an instrumented method.
|
static FixedValue.AssignerConfigurable |
FixedValue.reference(Object value)
Other than
FixedValue.value(Object) , this function
will create a fixed value implementation that will always defined a field in the instrumented class. |
static FixedValue.AssignerConfigurable |
FixedValue.reference(Object value,
String name)
Other than
FixedValue.value(Object) , this function
will create a fixed value implementation that will always defined a field in the instrumented class. |
static FixedValue.AssignerConfigurable |
FixedValue.self()
Returns
this from an instrumented method. |
static FixedValue.AssignerConfigurable |
FixedValue.value(ConstantValue constant)
Returns the loaded version of the given
JavaConstant . |
static FixedValue.AssignerConfigurable |
FixedValue.value(JavaConstant constant)
Returns the loaded version of the given
JavaConstant . |
static FixedValue.AssignerConfigurable |
FixedValue.value(Object value)
Returns a fixed value from any intercepted method.
|
static FixedValue.AssignerConfigurable |
FixedValue.value(TypeDescription type)
Returns the given type in form of a loaded type.
|
Copyright © 2014–2024. All rights reserved.