org.mule.devkit.model.code
Class GeneratedForEach
java.lang.Object
org.mule.devkit.model.code.GeneratedForEach
- All Implemented Interfaces:
- Statement
public final class GeneratedForEach
- extends Object
- implements Statement
ForEach Statement
This will generate the code for statement based on the new
j2se 1.5 j.l.s.
- Author:
- Bhakti
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneratedForEach
public GeneratedForEach(Type vartype,
String variable,
GeneratedExpression collection)
var
public GeneratedVariable var()
- Returns a reference to the loop variable.
body
public GeneratedBlock body()
state
public void state(Formatter f)
- Specified by:
state in interface Statement
Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.