com.borland.jbuilder.jot
Interface JotField

All Superinterfaces:
JotVariable
All Known Subinterfaces:
JotFieldDeclaration

public interface JotField
extends JotVariable

This interface represents a field in an object. See section 8.3 of the Java Language Specification for more information about fields.


Method Summary
 JotClass getDeclaringClass()
          Returns a JotClass instance which contains this field.
 int getModifiers()
          Returns the Java language modifiers for this field encoded in an integer.
 JotValue getValue(java.lang.Object instance)
          Returns an instance of JotValue which contains the initial value of this field.
 
Methods inherited from interface com.borland.jbuilder.jot.JotVariable
getFullName, getMemberName, getName, getObjectName, getType
 

Method Detail

getDeclaringClass

public JotClass getDeclaringClass()
Returns a JotClass instance which contains this field.

getModifiers

public int getModifiers()
Returns the Java language modifiers for this field encoded in an integer. The valid modifiers for fields are public, protected, private, final and static. They should be decoded using the methods of class Modifier.

The modifier encodings are defined in The Java Virtual Machine Specification, table 4.1.

See Also:
Modifier

getValue

public JotValue getValue(java.lang.Object instance)
Returns an instance of JotValue which contains the initial value of this field.