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

public abstract class ValueObject extends AbstractValueComposite
A generic object value provided by a debugger unit.
  • Constructor Details

    • ValueObject

      public ValueObject(long objectId, long refTypeId, String typeName)
      Create an object value.
      Parameters:
      objectId - object id
      refTypeId - reference type id
      typeName - declared type name
  • 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
    • invoke

      public abstract ITypedValue invoke(String method, long threadId, List<ITypedValue> arguments) throws JebException
      Invoke a method on this object.
      Parameters:
      method - method name of this class or any superclass. Example: "toString"
      threadId - thread id used to perform the invocation
      arguments - method parameters
      Returns:
      invocation return value, or null
      Throws:
      JebException - on invocation error