| /******************************************************************************* |
| * Copyright (c) 2000, 2003 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.jdt.debug.core; |
| |
| |
| 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; |
| } |
| |