Class MemberSubstitution.Source.Value

java.lang.Object
net.bytebuddy.asm.MemberSubstitution.Source.Value
Enclosing class:
MemberSubstitution.Source

@Enhance protected static class MemberSubstitution.Source.Value extends Object
Represents a value that can be loaded from a given offset.
  • Field Details

    • typeDescription

      private final TypeDescription.Generic typeDescription
      The type of the loaded value.
    • offset

      private final int offset
      The offset of the loaded value.
  • Constructor Details

    • Value

      protected Value(TypeDescription.Generic typeDescription, int offset)
      Creates a value representation.
      Parameters:
      typeDescription - The type of the loaded value.
      offset - The offset of the loaded value.
  • Method Details

    • getTypeDescription

      protected TypeDescription.Generic 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.