Package net.bytebuddy.asm
Class MemberSubstitution.Source.Value
java.lang.Object
net.bytebuddy.asm.MemberSubstitution.Source.Value
- Enclosing class:
MemberSubstitution.Source
Represents a value that can be loaded from a given offset.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
The offset of the loaded value.private final TypeDescription.Generic
The type of the loaded value. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Value
(TypeDescription.Generic typeDescription, int offset) Creates a value representation. -
Method Summary
Modifier and TypeMethodDescriptionprotected int
Returns the offset of the loaded value.protected TypeDescription.Generic
Returns the type of the loaded value.
-
Field Details
-
typeDescription
The type of the loaded value. -
offset
private final int offsetThe offset of the loaded value.
-
-
Constructor Details
-
Value
Creates a value representation.- Parameters:
typeDescription
- The type of the loaded value.offset
- The offset of the loaded value.
-
-
Method Details
-
getTypeDescription
Returns the type of the loaded value.- Returns:
- The type of the loaded value.
-
getOffset
protected int getOffset()Returns the offset of the loaded value.- Returns:
- The offset of the loaded value.
-