Class FieldAccess.AccessDispatcher.FieldGetInstruction
java.lang.Object
net.bytebuddy.implementation.bytecode.StackManipulation.AbstractBase
net.bytebuddy.implementation.bytecode.member.FieldAccess.AccessDispatcher.AbstractFieldInstruction
net.bytebuddy.implementation.bytecode.member.FieldAccess.AccessDispatcher.FieldGetInstruction
- All Implemented Interfaces:
StackManipulation
- Enclosing class:
FieldAccess.AccessDispatcher
@Enhance(includeSyntheticFields=true)
protected class FieldAccess.AccessDispatcher.FieldGetInstruction
extends FieldAccess.AccessDispatcher.AbstractFieldInstruction
A reading 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 intReturns 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
applyMethods inherited from class net.bytebuddy.implementation.bytecode.StackManipulation.AbstractBase
isValid
-
Constructor Details
-
FieldGetInstruction
protected FieldGetInstruction()
-
-
Method Details
-
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
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.
-