Example usage for org.eclipse.jdt.core.dom AST newContinueStatement

List of usage examples for org.eclipse.jdt.core.dom AST newContinueStatement

Introduction

In this page you can find the example usage for org.eclipse.jdt.core.dom AST newContinueStatement.

Prototype

public ContinueStatement newContinueStatement() 

Source Link

Document

Creates an unparented continue statement node owned by this AST.

Usage

From source file:org.jboss.forge.roaster.model.impl.statements.ContinueStatementImpl.java

License:Open Source License

@Override
public org.eclipse.jdt.core.dom.ContinueStatement materialize(AST ast) {
    if (ret != null) {
        return ret;
    }/*from w  w  w .  j  a v  a 2s  .c  o  m*/
    ret = ast.newContinueStatement();
    if (target != null) {
        ret.setLabel(ast.newSimpleName(target));
    }
    return ret;
}