Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Method and Description |
---|---|
static FieldAccessor.ForSetter.TerminationHandler |
FieldAccessor.ForSetter.TerminationHandler.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldAccessor.ForSetter.TerminationHandler[] |
FieldAccessor.ForSetter.TerminationHandler.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
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–2023. All rights reserved.