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 intThe offset of the loaded value.private final TypeDescription.GenericThe type of the loaded value. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedValue(TypeDescription.Generic typeDescription, int offset) Creates a value representation. -
Method Summary
Modifier and TypeMethodDescriptionprotected intReturns the offset of the loaded value.protected TypeDescription.GenericReturns 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.
-