Example usage for org.eclipse.jdt.internal.compiler.lookup CompilationUnitScope checkAndSetImports

List of usage examples for org.eclipse.jdt.internal.compiler.lookup CompilationUnitScope checkAndSetImports

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.compiler.lookup CompilationUnitScope checkAndSetImports.

Prototype

void checkAndSetImports() 

Source Link

Usage

From source file:org.eclipse.objectteams.otdt.internal.core.compiler.lookup.OTClassScope.java

License:Open Source License

/** Need to initialize the role file imports, too. */
@Override/*from w ww. ja  v a2 s . c o  m*/
protected void checkRoleFileImports() {
    super.checkRoleFileImports();
    CompilationUnitScope importScope = this.roleUnitImportScope;
    if (importScope != null && importScope.imports == null)
        importScope.checkAndSetImports();
}