KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > debug > core > IJavaType


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.debug.core;
12
13  
14 import org.eclipse.debug.core.DebugException;
15 import org.eclipse.debug.core.model.IDebugElement;
16  
17 /**
18  * The type of a value on a Java debug target - a primitive
19  * data type, class, interface, or array.
20  * <p>
21  * Clients are not intended to implement this interface.
22  * </p>
23  * <p>
24  * Since 3.2, an <code>IJavaType</code> is also a debug element
25  * </p>
26  * @see IJavaValue
27  */

28 public interface IJavaType extends IDebugElement {
29     /**
30      * Returns the JNI-style signature for this type.
31      *
32      * @return signature
33      * @exception DebugException if this method fails. Reasons include:
34      * <ul><li>Failure communicating with the VM. The DebugException's
35      * status code contains the underlying exception responsible for
36      * the failure.</li></ul>
37      */

38     public String JavaDoc getSignature() throws DebugException;
39     
40     /**
41      * Returns the name of this type. For example, <code>"java.lang.String"</code>.
42      *
43      * @return the name of this type
44      * @exception DebugException if this method fails. Reasons include:
45      * <ul><li>Failure communicating with the VM. The DebugException's
46      * status code contains the underlying exception responsible for
47      * the failure.</li></ul>
48      */

49     public String JavaDoc getName() throws DebugException;
50 }
51
52
Popular Tags