| package org.eclipse.jdt.debug.core; |
| |
| /* |
| * (c) Copyright IBM Corp. 2000, 2001. |
| * All Rights Reserved. |
| */ |
| |
| import org.eclipse.debug.core.DebugException; |
| |
| /** |
| * The type of a value on a Java debug target - a primitive |
| * data type, class, interface, or array. |
| * <p> |
| * Clients are not intended to implement this interface. |
| * </p> |
| * @see IJavaValue |
| */ |
| public interface IJavaType { |
| /** |
| * Returns the JNI-style signature for this type. |
| * |
| * @return signature |
| * @exception DebugException if this method fails. Reasons include: |
| * <ul><li>Failure communicating with the VM. The DebugException's |
| * status code contains the underlying exception responsible for |
| * the failure.</li></ul> |
| */ |
| public String getSignature() throws DebugException; |
| |
| /** |
| * Returns the name of this type. For example, <code>"java.lang.String"</code>. |
| * |
| * @return the name of this type |
| * @exception DebugException if this method fails. Reasons include: |
| * <ul><li>Failure communicating with the VM. The DebugException's |
| * status code contains the underlying exception responsible for |
| * the failure.</li></ul> |
| */ |
| public String getName() throws DebugException; |
| } |
| |