| com.pnfsoftware.jeb.core.units.code.java.IJavaWhile |
Java AST interface to represent while loop statements.
A while loop is a pre-tested loop, that consists of a test predicate and a body.
while(predicate) body
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract IJavaBlock |
getBody()
Get the loop body.
| ||||||||||
| abstract IJavaPredicate |
getPredicate()
Get the loop predicate.
| ||||||||||
| abstract void |
setBody(IJavaBlock b)
Set the loop body.
| ||||||||||
| abstract void |
setPredicate(IJavaPredicate p)
Set the loop predicate.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.units.code.java.ICompound
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.code.java.IJavaElement
| |||||||||||
Get the loop predicate.
Set the loop predicate.
| p | mandatory predicate |
|---|