站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

LocalVariable (NetBeans Debugger JPDA API) - NetBeans API Javadoc 5.0.0

 

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

public String getName()
Declared name of local.

Returns:
name of this local.

getClassName

public String getClassName()
Returns name of enclosing class.

Returns:
name of enclosing class

getDeclaredType

public String getDeclaredType()
Declared type of this local.

Returns:
declared type of this local

setValue

public 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

 

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