Eclipse JDT
Release 3.2

org.eclipse.jdt.debug.core
Interface IJavaType

All Superinterfaces:
IAdaptable, IDebugElement
All Known Subinterfaces:
IJavaArrayType, IJavaClassType, IJavaInterfaceType, IJavaReferenceType

public interface IJavaType
extends IDebugElement

The type of a value on a Java debug target - a primitive data type, class, interface, or array.

Clients are not intended to implement this interface.

Since 3.2, an IJavaType is also a debug element

See Also:
IJavaValue

Method Summary
 String getName()
          Returns the name of this type.
 String getSignature()
          Returns the JNI-style signature for this type.
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getSignature

public String getSignature()
                    throws DebugException
Returns the JNI-style signature for this type.

Returns:
signature
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.

getName

public String getName()
               throws DebugException
Returns the name of this type. For example, "java.lang.String".

Returns:
the name of this type
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.

Eclipse JDT
Release 3.2

Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.