Class FieldAccess.AccessDispatcher.FieldPutInstruction
java.lang.Object
net.bytebuddy.implementation.bytecode.StackManipulation.AbstractBase
net.bytebuddy.implementation.bytecode.member.FieldAccess.AccessDispatcher.AbstractFieldInstruction
net.bytebuddy.implementation.bytecode.member.FieldAccess.AccessDispatcher.FieldPutInstruction
- All Implemented Interfaces:
StackManipulation
- Enclosing class:
- FieldAccess.AccessDispatcher
@Enhance(includeSyntheticFields=true)
protected class FieldAccess.AccessDispatcher.FieldPutInstruction
extends FieldAccess.AccessDispatcher.AbstractFieldInstruction
A writing field access operation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.bytecode.StackManipulation
StackManipulation.AbstractBase, StackManipulation.Compound, StackManipulation.Illegal, StackManipulation.Simple, StackManipulation.Size, StackManipulation.Trivial
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
Returns the opcode for implementing the field access.protected StackManipulation.Size
resolveSize
(StackSize fieldSize) Resolves the actual size of this field access operation.Methods inherited from class net.bytebuddy.implementation.bytecode.member.FieldAccess.AccessDispatcher.AbstractFieldInstruction
apply
Methods inherited from class net.bytebuddy.implementation.bytecode.StackManipulation.AbstractBase
isValid
-
Constructor Details
-
FieldPutInstruction
protected FieldPutInstruction()
-
-
Method Details
-
getOpcode
protected int getOpcode()Description copied from class:FieldAccess.AccessDispatcher.AbstractFieldInstruction
Returns the opcode for implementing the field access.- Specified by:
getOpcode
in classFieldAccess.AccessDispatcher.AbstractFieldInstruction
- Returns:
- The opcode for implementing the field access.
-
resolveSize
Description copied from class:FieldAccess.AccessDispatcher.AbstractFieldInstruction
Resolves the actual size of this field access operation.- Specified by:
resolveSize
in classFieldAccess.AccessDispatcher.AbstractFieldInstruction
- Parameters:
fieldSize
- The size of the accessed field.- Returns:
- The size of the field access operation based on the field's size.
-