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

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

Introduction

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

Prototype

public boolean hasBindingsRecovery() 

Source Link

Document

Returns true if the ast tree was created with bindings 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;/*from   www  .j  a  va 2  s  .c o m*/
}

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 www.j  av a 2s  .co m
}