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

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

Introduction

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

Prototype

public boolean hasStatementsRecovery() 

Source Link

Document

Returns true if the ast tree was created with statements recovery, false otherwise

Usage

From source file:astview.SettingsProperty.java

License:Open Source License

@Override
public Object[] getChildren() {
    AST ast = fRoot.getAST();
    Object[] res = { new GeneralAttribute(this, "apiLevel", String.valueOf(ast.apiLevel())),
            new GeneralAttribute(this, "hasResolvedBindings", String.valueOf(ast.hasResolvedBindings())),
            new GeneralAttribute(this, "hasStatementsRecovery", String.valueOf(ast.hasStatementsRecovery())),
            new GeneralAttribute(this, "hasBindingsRecovery", String.valueOf(ast.hasBindingsRecovery())), };
    return res;//w ww  . j  av a 2s. c om
}

From source file:cideplus.ui.astview.SettingsProperty.java

License:Open Source License

public Object[] getChildren() {
    AST ast = fRoot.getAST();
    Object[] res = { new GeneralAttribute(this, "apiLevel", String.valueOf(ast.apiLevel())),
            new GeneralAttribute(this, "hasResolvedBindings", String.valueOf(ast.hasResolvedBindings())),
            new GeneralAttribute(this, "hasStatementsRecovery", String.valueOf(ast.hasStatementsRecovery())),
            new GeneralAttribute(this, "hasBindingsRecovery", String.valueOf(ast.hasBindingsRecovery())), };
    return res;//from  w  w  w .  j a  va  2  s  .  c o m
}