Top Description Fields Constructors Methods
com.sun.codemodel

public Class JDoLoop

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

Do loops

Field Summary

Modifier and TypeField and Description
private JBlock
body

JBlock of statements which makes up body of this Do statement

private JExpression
test

Test part of Do statement for determining exit state

Constructor Summary

AccessConstructor and Description
pack-priv
JDoLoop(JExpression test)

Construct a Do statment

Method Summary

Modifier and TypeMethod and Description
public JBlock
body()

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bodyback to summary
private JBlock body

JBlock of statements which makes up body of this Do statement

testback to summary
private JExpression test

Test part of Do statement for determining exit state

Constructor Detail

JDoLoopback to summary
pack-priv JDoLoop(JExpression test)

Construct a Do 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