Class AbstractValueComposite

java.lang.Object
com.pnfsoftware.jeb.core.units.code.debug.impl.AbstractValueComposite
All Implemented Interfaces:
ITypedValue
Direct Known Subclasses:
ValueArray, ValueObject

public abstract class AbstractValueComposite extends Object implements ITypedValue
A composite value, typically, an array or an object.
  • Field Details

    • refTypeId

      protected long refTypeId
      Reference type id.
  • Constructor Details

    • AbstractValueComposite

      public AbstractValueComposite(long objectId, long refTypeId)
      Create a composite value.
      Parameters:
      objectId - object id
      refTypeId - reference type id
  • Method Details

    • getObjectId

      public long getObjectId()
      Retrieve the object id.
      Returns:
      object id
    • getRefTypeId

      public long getRefTypeId()
      Retrieve the reference type id.
      Returns:
      reference type id
    • format

      public String format()
      Description copied from interface: ITypedValue
      Format the value to a readable string block.
      Specified by:
      format in interface ITypedValue
      Returns:
      formatted value
    • getValue

      public abstract List<? extends IDebuggerVariable> getValue()
      Description copied from interface: ITypedValue
      Get the value. The object returned depends on ITypedValue.getTypeName(). For raw types, the returned byte array contains the value bytes in the target byte order.
      Specified by:
      getValue in interface ITypedValue
      Returns:
      value object
    • hasChildren

      public boolean hasChildren()
      Determine whether this composite value has children.
      Returns:
      true if child variables are available