Interface IJavaType

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement
All Known Subinterfaces:
IJavaArrayType, IJavaClassType, IJavaInterfaceType, IJavaReferenceType

public interface IJavaType extends org.eclipse.debug.core.model.IDebugElement
The type of a value on a Java debug target - a primitive data type, class, interface, or array.

Since 3.2, an IJavaType is also a debug element

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 Type
    Method
    Description
    Returns the name of this type.
    Returns the JNI-style signature for this type.

    Methods inherited from interface org.eclipse.core.runtime.IAdaptable

    getAdapter

    Methods inherited from interface org.eclipse.debug.core.model.IDebugElement

    getDebugTarget, getLaunch, getModelIdentifier
  • Method Details

    • getSignature

      String getSignature() throws org.eclipse.debug.core.DebugException
      Returns the JNI-style signature for this type.
      Returns:
      signature
      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.
    • getName

      String getName() throws org.eclipse.debug.core.DebugException
      Returns the name of this type. For example, "java.lang.String".
      Returns:
      the name of this type
      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.