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

Field (NetBeans Debugger JPDA API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.api.debugger.jpda
Interface Field

All Superinterfaces:
Variable

public interface Field
extends Variable

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

See Also:
ObjectVariable

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

Method Detail

getName

public String getName()
Declared name of field.

Returns:
name of this field.

getClassName

public String getClassName()
Returns name of enclosing class.

Returns:
name of enclosing class

getDeclaredType

public String getDeclaredType()
Declared type of this field.

Returns:
declared type of this field

isStatic

public boolean isStatic()
Returns true for static fields.

Returns:
true for static fields

setValue

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

Returns:
sets value of this field represented as text
Throws:
InvalidExpressionException - if the expression is not correct

 

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