Package org.eclipse.jdt.debug.core
Interface IJavaValue
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable,org.eclipse.debug.core.model.IDebugElement,org.eclipse.debug.core.model.IValue
- All Known Subinterfaces:
IJavaArray,IJavaClassObject,IJavaObject,IJavaPrimitiveValue
public interface IJavaValue
extends org.eclipse.debug.core.model.IValue
An object, primitive data type, or array, on a Java virtual machine.
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the generic signature as defined in the JVM specification for the type of this value.Returns the type of this value, ornullif this value represents thenullvalueReturns the JNI-style signature for the type of this value, ornullif the value isnull.booleanisNull()Returns whether this value representsnull.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifierMethods inherited from interface org.eclipse.debug.core.model.IValue
getReferenceTypeName, getValueString, getVariables, hasVariables, isAllocated
-
Method Details
-
getSignature
Returns the JNI-style signature for the type of this value, ornullif the value isnull.- Returns:
- signature, or
nullif signature isnull - Throws:
org.eclipse.debug.core.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
Returns the generic signature as defined in the JVM specification for the type of this value. Returnsnullif the value isnull, or if the type of this value is not a generic type.- Returns:
- signature, or
nullif generic signature not available - Throws:
org.eclipse.debug.core.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
Returns the type of this value, ornullif this value represents thenullvalue- Returns:
- the type of this value, or
nullif this value represents thenullvalue - Throws:
org.eclipse.debug.core.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
-