Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Class and Description |
---|---|
static class |
FieldAccessor.FieldLocation.Absolute
An absolute field description representing a previously resolved field.
|
static class |
FieldAccessor.FieldLocation.Relative
A relative field location where a field is located dynamically.
|
Modifier and Type | Field and Description |
---|---|
protected FieldAccessor.FieldLocation |
FieldAccessor.fieldLocation
The field's location.
|
Modifier and Type | Method and Description |
---|---|
FieldAccessor.FieldLocation |
FieldAccessor.FieldLocation.with(FieldLocator.Factory fieldLocatorFactory)
Specifies a field locator factory to use.
|
FieldAccessor.FieldLocation |
FieldAccessor.FieldLocation.Absolute.with(FieldLocator.Factory fieldLocatorFactory)
Specifies a field locator factory to use.
|
FieldAccessor.FieldLocation |
FieldAccessor.FieldLocation.Relative.with(FieldLocator.Factory fieldLocatorFactory)
Specifies a field locator factory to use.
|
Constructor and Description |
---|
FieldAccessor(FieldAccessor.FieldLocation fieldLocation,
Assigner assigner,
Assigner.Typing typing)
Creates a new field accessor.
|
ForImplicitProperty(FieldAccessor.FieldLocation fieldLocation)
Creates a field accessor for an implicit property.
|
ForSetter(FieldAccessor.FieldLocation fieldLocation,
Assigner assigner,
Assigner.Typing typing,
FieldAccessor.ForSetter.TerminationHandler terminationHandler)
Creates a new field accessor for a setter instrumentation.
|
OfConstantValue(FieldAccessor.FieldLocation fieldLocation,
Assigner assigner,
Assigner.Typing typing,
FieldAccessor.ForSetter.TerminationHandler terminationHandler,
TypeDescription.Generic typeDescription,
StackManipulation stackManipulation)
Creates a setter instrumentation for setting a constant value.
|
OfDefaultValue(FieldAccessor.FieldLocation fieldLocation,
Assigner assigner,
Assigner.Typing typing,
FieldAccessor.ForSetter.TerminationHandler terminationHandler)
Creates an intrumentation that sets a field's default value.
|
OfFieldValue(FieldAccessor.FieldLocation fieldLocation,
Assigner assigner,
Assigner.Typing typing,
FieldAccessor.ForSetter.TerminationHandler terminationHandler,
FieldAccessor.FieldLocation target)
Creates a setter that sets another field value.
|
OfParameterValue(FieldAccessor.FieldLocation fieldLocation,
Assigner assigner,
Assigner.Typing typing,
FieldAccessor.ForSetter.TerminationHandler terminationHandler,
int index)
Creates a new setter instrumentation for a parameter value.
|
OfReferenceValue(FieldAccessor.FieldLocation fieldLocation,
Assigner assigner,
Assigner.Typing typing,
FieldAccessor.ForSetter.TerminationHandler terminationHandler,
Object value,
String name)
Creates a setter instrumentation for setting a value stored in a static field of the instrumented type.
|
Copyright © 2014–2022. All rights reserved.