Package org.eclipse.jdt.debug.core
Interface IJavaValue
-
- All Superinterfaces:
IAdaptable
,IDebugElement
,IValue
- All Known Subinterfaces:
IJavaArray
,IJavaClassObject
,IJavaObject
,IJavaPrimitiveValue
public interface IJavaValue extends IValue
An object, primitive data type, or array, on a Java virtual machine.- See Also:
IValue
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getGenericSignature()
Returns the generic signature as defined in the JVM specification for the type of this value.IJavaType
getJavaType()
Returns the type of this value, ornull
if this value represents thenull
valueString
getSignature()
Returns the JNI-style signature for the type of this value, ornull
if the value isnull
.boolean
isNull()
Returns whether this value representsnull
.-
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
-
Methods inherited from interface org.eclipse.debug.core.model.IValue
getReferenceTypeName, getValueString, getVariables, hasVariables, isAllocated
-
-
-
-
Method Detail
-
getSignature
String getSignature() throws DebugException
Returns the JNI-style signature for the type of this value, ornull
if the value isnull
.- Returns:
- signature, or
null
if signature isnull
- Throws:
DebugException
- if this method fails. Reasons include:- Failure communicating with the VM. The DebugException's status code contains the underlying exception responsible for the failure.
- The type associated with the signature is not yet loaded
-
getGenericSignature
String getGenericSignature() throws DebugException
Returns the generic signature as defined in the JVM specification for the type of this value. Returnsnull
if the value isnull
, or if the type of this value is not a generic type.- Returns:
- signature, or
null
if generic signature not available - Throws:
DebugException
- if this method fails. Reasons include:- Failure communicating with the VM. The DebugException's status code contains the underlying exception responsible for the failure.
- The type associated with the signature is not yet loaded
- Since:
- 3.1
-
getJavaType
IJavaType getJavaType() throws DebugException
Returns the type of this value, ornull
if this value represents thenull
value- Returns:
- the type of this value, or
null
if this value represents thenull
value - Throws:
DebugException
- if the request fails- Since:
- 2.0
-
isNull
boolean isNull()
Returns whether this value representsnull
.- Returns:
- whether this value represents
null
- Since:
- 3.5
-
-