diff options
Diffstat (limited to 'org.eclipse.jdt.debug/model/org/eclipse/jdt/debug/core/IJavaValue.java')
-rw-r--r-- | org.eclipse.jdt.debug/model/org/eclipse/jdt/debug/core/IJavaValue.java | 72 |
1 files changed, 40 insertions, 32 deletions
diff --git a/org.eclipse.jdt.debug/model/org/eclipse/jdt/debug/core/IJavaValue.java b/org.eclipse.jdt.debug/model/org/eclipse/jdt/debug/core/IJavaValue.java index 67ab1264b..3620ba216 100644 --- a/org.eclipse.jdt.debug/model/org/eclipse/jdt/debug/core/IJavaValue.java +++ b/org.eclipse.jdt.debug/model/org/eclipse/jdt/debug/core/IJavaValue.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -10,65 +10,73 @@ *******************************************************************************/ package org.eclipse.jdt.debug.core; - import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.model.IValue; /** * An object, primitive data type, or array, on a Java virtual machine. + * * @see org.eclipse.debug.core.model.IValue * @noimplement This interface is not intended to be implemented by clients. * @noextend This interface is not intended to be extended by clients. */ public interface IJavaValue extends IValue { /** - * Returns the JNI-style signature for the type of this - * value, or <code>null</code> if the value is <code>null</code>. - * + * Returns the JNI-style signature for the type of this value, or + * <code>null</code> if the value is <code>null</code>. + * * @return signature, or <code>null</code> if signature is <code>null</code> - * @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> - * <li>The type associated with the signature is not yet loaded</li></ul> + * @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> + * <li>The type associated with the signature is not yet + * loaded</li> + * </ul> */ public String getSignature() throws DebugException; - + /** - * Returns the generic signature as defined in the JVM - * specification for the type of this value. - * Returns <code>null</code> if the value is <code>null</code>, - * or if the type of this value is not a generic type. - * - * @return signature, or <code>null</code> if generic signature not available - * @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> - * <li>The type associated with the signature is not yet loaded</li></ul> + * Returns the generic signature as defined in the JVM specification for the + * type of this value. Returns <code>null</code> if the value is + * <code>null</code>, or if the type of this value is not a generic type. + * + * @return signature, or <code>null</code> if generic signature not + * available + * @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> + * <li>The type associated with the signature is not yet + * loaded</li> + * </ul> * @since 3.1 */ public String getGenericSignature() throws DebugException; - + /** - * Returns the type of this value, or <code>null</code> - * if this value represents the <code>null</code> value + * Returns the type of this value, or <code>null</code> if this value + * represents the <code>null</code> value * - * @return the type of this value, or <code>null</code> - * if this value represents the <code>null</code> value + * @return the type of this value, or <code>null</code> if this value + * represents the <code>null</code> value + * @throws DebugException + * if the request fails * * @since 2.0 */ public IJavaType getJavaType() throws DebugException; - + /** * Returns whether this value represents <code>null</code>. - * + * * @return whether this value represents <code>null</code> * @since 3.5 */ public boolean isNull(); - -} - +} |