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

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

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

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).

 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 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

String getName()
Declared name of field.

Returns:
name of this field.

getClassName

String getClassName()
Returns name of enclosing class.

Returns:
name of enclosing class

getDeclaredType

String getDeclaredType()
Declared type of this field.

Returns:
declared type of this field

isStatic

boolean isStatic()
Returns true for static fields.

Returns:
true for static fields

setValue

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

Throws:
InvalidExpressionException - if the expression is not correct

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

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