com.borland.jbuilder.jot
Interface JotFor
- All Superinterfaces:
- JotMarker, JotSourceElement, JotStatement
- public interface JotFor
- extends JotStatement
This interface represents a Java for
statement. See section 14.12
in the Java Language Specification for more information.
getInitializers
public JotSourceElement[] getInitializers()
- Returns an array containing a single JotVariableDeclaration or the
JotExpressions contained in the initialization section of a
for
statement. If the initialization section is empty, then returns a
zero-length array.
getCondition
public JotExpression getCondition()
- Returns the JotExpression representing the condition section of a
for
statement. If there is no condition section, then returns null
.
getIncrements
public JotExpression[] getIncrements()
- Returns an array of JotExpression instances representing the increment
section of a
for
statement. If the increment section is empty, then
returns a zero-length array.
getCodeBlock
public JotCodeBlock getCodeBlock()
- Returns the body of the
for
statement.
- Specified by:
getCodeBlock
in interface JotStatement