java.lang.Object
com.pnfsoftware.jeb.core.units.code.debug.impl.AbstractValuePrimitive
com.pnfsoftware.jeb.core.units.code.debug.impl.ValueString
All Implemented Interfaces:
ITypedValue

public class ValueString extends AbstractValuePrimitive
A string value provided by a debugger unit.
  • Constructor Details

    • ValueString

      public ValueString(String v)
      Create a string value.
      Parameters:
      v - string value
    • ValueString

      public ValueString(String v, Long objectId)
      Create a string value.
      Parameters:
      v - string value
      objectId - object id, or null
  • Method Details

    • getTypeName

      public String getTypeName()
      Description copied from interface: ITypedValue
      Get the type name. One of TYPE_* or a language type (Ljava/util/ArrayList; for example)
      Returns:
      type name
    • getValue

      public String 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.
      Returns:
      value object
    • getObjectId

      public Long getObjectId()
      Retrieve the object id.
      Returns:
      object id, or null
    • toString

      public String toString()
      Overrides:
      toString in class Object