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

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

Introduction

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

Prototype

public boolean hasResolvedBindings() 

Source Link

Document

Returns true if the ast tree was created with bindings, 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   w  ww  .  j a  va  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. ja  v  a2  s . c  o  m
}