public class JStmtWhile extends JStmt
Modifier and Type | Field and Description |
---|---|
JExpr |
conditional |
JStmt |
statement |
Constructor and Description |
---|
JStmtWhile() |
Modifier and Type | Method and Description |
---|---|
JStmtBlock |
getBlock()
Returns the statement block.
|
JExpr |
getConditional()
Returns the conditional.
|
JStmt |
getStatement()
Returns the statement.
|
boolean |
isBlock()
Returns whether statement has a block associated with it.
|
void |
setConditional(JExpr aCond)
Sets the conditional.
|
void |
setStatement(JStmt aStmt)
Sets the statement.
|
addChild, buildChildren, getChild, getChildCount, getChildren, getClassLoader, getClassName, getClassNameImpl, getClassRef, getClassRefImpl, getEnclosingClassDecl, getEnclosingMemberDecl, getEnclosingMethodDecl, getEnd, getEndToken, getFile, getJClass, getLineIndex, getName, getNameImpl, getNodeAtCharIndex, getNodeFields, getNodeFieldsImpl, getNodeParents, getNodePath, getNodeString, getOthers, getParent, getParent, getReferencedClasses, getReferencedClassNames, getReferencedClassNames, getReferencedClassNames, getStart, getStartToken, getString, getVariableDecl, getVariableDeclInside, getVariableDecls, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
public JExpr getConditional()
public void setConditional(JExpr aCond)
public JStmt getStatement()
public void setStatement(JStmt aStmt)
public boolean isBlock()
public JStmtBlock getBlock()