org.netbeans.api.debugger.jpda/2 2.4.31

org.netbeans.api.debugger.jpda
Interface LocalVariable

All Superinterfaces:
Variable

public interface LocalVariable
extends Variable

Represents one local. This interface is extended by ObjectVariable interface, if the represented local contains not primitive value (object value).

 Since JDI interfaces evolve from one version to another, it's strongly recommended
 not to implement this interface in client code. New methods can be added to
 this interface at any time to keep up with the JDI functionality.

See Also:
ObjectVariable

Method Summary
 String getClassName()
          Returns name of enclosing class.
 String getDeclaredType()
          Declared type of this local.
 String getName()
          Declared name of local.
 void setValue(String value)
          Sets value of this local represented as text.
 
Methods inherited from interface org.netbeans.api.debugger.jpda.Variable
getType, getValue
 

Method Detail

getName

String getName()
Declared name of local.

Returns:
name of this local.

getClassName

String getClassName()
Returns name of enclosing class.

Returns:
name of enclosing class

getDeclaredType

String getDeclaredType()
Declared type of this local.

Returns:
declared type of this local

setValue

void setValue(String value)
              throws InvalidExpressionException
Sets value of this local represented as text.

Parameters:
value - a new value of this local represented as text
Throws:
InvalidExpressionException - if the expression is not correct

org.netbeans.api.debugger.jpda/2 2.4.31

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.