org.eclipse.jdt.debug.core
Interface IJavaVariable
- All Superinterfaces:
- IAdaptable, IDebugElement, IJavaModifiers, IValueModification, IVariable
- All Known Subinterfaces:
- IJavaFieldVariable
- public interface IJavaVariable
- extends IVariable, IJavaModifiers
A local variable, field slot, or receiver (this) in a Java virtual machine.
Clients are not intended to implement this interface.
- See Also:
IVariable
Method Summary |
IJavaType |
getJavaType()
Returns the declared type of this variable. |
String |
getSignature()
Returns the JNI-style signature for the declared type of this
variable, or null if the type associated with the
signature is not yet loaded in the target VM. |
getSignature
public String getSignature()
throws DebugException
- Returns the JNI-style signature for the declared type of this
variable, or
null
if the type associated with the
signature is not yet loaded in the target VM.
- Returns:
- signature, or
null
if not accessible
- 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
getJavaType
public IJavaType getJavaType()
throws DebugException
- Returns the declared type of this variable.
- Returns:
- the declared type of this variable
- 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:
- 2.0
Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.