List of usage examples for org.eclipse.jdt.core.dom AST newDoStatement
public DoStatement newDoStatement()
From source file:org.jboss.forge.roaster.model.impl.statements.DoWhileStatementImpl.java
License:Open Source License
@Override public DoStatement materialize(AST ast) { if (rep != null) { return rep; }//from ww w .ja v a 2 s .c o m rep = ast.newDoStatement(); if (body != null) { rep.setBody(wireAndGetStatement(body, this, ast)); } if (condition != null) { rep.setExpression(wireAndGetExpression(condition, this, ast)); } return rep; }