Top Description Fields Constructors Methods
com.sun.codemodel

public Class JWhileLoop

extends Object
implements JStatement
Class Inheritance
All Implemented Interfaces
com.sun.codemodel.JStatement

While statement

Field Summary

Modifier and TypeField and Description
private JBlock
body

JBlock of statements which makes up body of this While statement

private JExpression
test

Test part of While statement for determining exit state

Constructor Summary

AccessConstructor and Description
pack-priv
JWhileLoop(JExpression test)

Construct a While statment

Method Summary

Modifier and TypeMethod and Description
public JBlock
body()

public void
public JExpression
test()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bodyback to summary
private JBlock body

JBlock of statements which makes up body of this While statement

testback to summary
private JExpression test

Test part of While statement for determining exit state

Constructor Detail

JWhileLoopback to summary
pack-priv JWhileLoop(JExpression test)

Construct a While statment

Method Detail

bodyback to summary
public JBlock body()
stateback to summary
public void state(JFormatter f)

Implements com.sun.codemodel.JStatement.state.

Annotations
@Override
testback to summary
public JExpression test()