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 Modifier Constructor Description protectedFieldPutInstruction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetOpcode()Returns the opcode for implementing the field access.protected StackManipulation.SizeresolveSize(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
-
-
-
-
Method Detail
-
getOpcode
protected int getOpcode()
Description copied from class:FieldAccess.AccessDispatcher.AbstractFieldInstructionReturns the opcode for implementing the field access.- Specified by:
getOpcodein classFieldAccess.AccessDispatcher.AbstractFieldInstruction- Returns:
- The opcode for implementing the field access.
-
resolveSize
protected StackManipulation.Size resolveSize(StackSize fieldSize)
Description copied from class:FieldAccess.AccessDispatcher.AbstractFieldInstructionResolves the actual size of this field access operation.- Specified by:
resolveSizein 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.
-
-