Class MemberSubstitution.Source.Value

  • Enclosing class:
    MemberSubstitution.Source

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

      • offset

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

      • 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 Detail

      • 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.