Class AbstractValueComposite
java.lang.Object
com.pnfsoftware.jeb.core.units.code.debug.impl.AbstractValueComposite
- All Implemented Interfaces:
ITypedValue
- Direct Known Subclasses:
ValueArray
,ValueObject
A composite value, typically, an array or an object.
-
Field Summary
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformat()
Format the value to a readable string block.long
long
abstract List<? extends IDebuggerVariable>
getValue()
Get the value.boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.pnfsoftware.jeb.core.units.code.debug.ITypedValue
getTypeName
-
Field Details
-
refTypeId
protected long refTypeId
-
-
Constructor Details
-
AbstractValueComposite
public AbstractValueComposite(long objectId, long refTypeId)
-
-
Method Details
-
getObjectId
public long getObjectId() -
getRefTypeId
public long getRefTypeId() -
format
Description copied from interface:ITypedValue
Format the value to a readable string block.- Specified by:
format
in interfaceITypedValue
- Returns:
-
getValue
Description copied from interface:ITypedValue
Get the value. The object returned depends onITypedValue.getTypeName()
. For raw types, the returned byte array contains the value bytes in the target byte order.- Specified by:
getValue
in interfaceITypedValue
- Returns:
-
hasChildren
public boolean hasChildren()
-