Class FieldAccess.AccessDispatcher.FieldPutInstruction
- java.lang.Object
-
- 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.Compound, StackManipulation.Illegal, StackManipulation.Size, StackManipulation.Trivial
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FieldPutInstruction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getOpcode()
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, isValid
-
-
-
-
Method Detail
-
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
protected StackManipulation.Size resolveSize(StackSize fieldSize)
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.
-
-