Package com.sun.codemodel
Class JForEach
java.lang.Object
com.sun.codemodel.JForEach
- All Implemented Interfaces:
JStatement
ForEach Statement
This will generate the code for statement based on the new
j2se 1.5 j.l.s.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JBlock
private final JExpression
private final JVar
private final JType
private final String
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
-
var
-
body
-
collection
-
loopVar
-
-
Constructor Details
-
JForEach
-
-
Method Details
-
var
Returns a reference to the loop variable. -
body
-
state
- Specified by:
state
in interfaceJStatement
-