public interface

ITypedValue

com.pnfsoftware.jeb.core.units.code.debug.ITypedValue
Known Indirect Subclasses

Class Overview

A typed value. Typed values can be either primitives or composites.

Summary

Constants
String TYPE_ARRAY
String TYPE_BOOLEAN
String TYPE_BYTE
String TYPE_CHARACTER
String TYPE_DOUBLE
String TYPE_FLOAT
String TYPE_INTEGER
String TYPE_LONG
String TYPE_OBJECT
String TYPE_RAW
String TYPE_SHORT
String TYPE_STRING
Public Methods
abstract String format()
Format the value to a readable string block.
abstract String getTypeName()
Get the type name.
abstract Object getValue()
Get the value.

Constants

public static final String TYPE_ARRAY

Constant Value: "array"

public static final String TYPE_BOOLEAN

Constant Value: "boolean"

public static final String TYPE_BYTE

Constant Value: "byte"

public static final String TYPE_CHARACTER

Constant Value: "char"

public static final String TYPE_DOUBLE

Constant Value: "double"

public static final String TYPE_FLOAT

Constant Value: "float"

public static final String TYPE_INTEGER

Constant Value: "int"

public static final String TYPE_LONG

Constant Value: "long"

public static final String TYPE_OBJECT

Constant Value: "object"

public static final String TYPE_RAW

Constant Value: "raw"

public static final String TYPE_SHORT

Constant Value: "short"

public static final String TYPE_STRING

Constant Value: "string"

Public Methods

public abstract String format ()

Format the value to a readable string block.

public abstract String getTypeName ()

Get the type name. One of TYPE_* or a language type (Ljava/util/ArrayList; for example)

public abstract Object getValue ()

Get the value. The object returned depends on getTypeName(). For raw types, the returned byte array contains the value bytes in the target byte order.