Class ValueObject
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
A generic object value provided by a debugger unit.
-
Field Summary
Fields inherited from class com.pnfsoftware.jeb.core.units.code.debug.impl.AbstractValueComposite
refTypeIdFields inherited from interface com.pnfsoftware.jeb.core.units.code.debug.ITypedValue
TYPE_ARRAY, TYPE_BOOLEAN, TYPE_BYTE, TYPE_CHARACTER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INTEGER, TYPE_LONG, TYPE_OBJECT, TYPE_RAW, TYPE_SHORT, TYPE_STRING -
Constructor Summary
ConstructorsConstructorDescriptionValueObject(long objectId, long refTypeId, String typeName) Create an object value. -
Method Summary
Modifier and TypeMethodDescriptionGet the type name.abstract ITypedValueinvoke(String method, long threadId, List<ITypedValue> arguments) Invoke a method on this object.Methods inherited from class com.pnfsoftware.jeb.core.units.code.debug.impl.AbstractValueComposite
format, getObjectId, getRefTypeId, getValue, hasChildren
-
Constructor Details
-
ValueObject
Create an object value.- Parameters:
objectId- object idrefTypeId- reference type idtypeName- declared type name
-
-
Method Details
-
getTypeName
Description copied from interface:ITypedValueGet 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 invocationarguments- method parameters- Returns:
- invocation return value, or null
- Throws:
JebException- on invocation error
-