Example usage for org.eclipse.jdt.internal.codeassist.impl AssistOptions AssistOptions

List of usage examples for org.eclipse.jdt.internal.codeassist.impl AssistOptions AssistOptions

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.codeassist.impl AssistOptions AssistOptions.

Prototype

public AssistOptions(Map settings) 

Source Link

Document

Initializing the assist options with external settings

Usage

From source file:com.codenvy.ide.ext.java.server.internal.codeassist.impl.Engine.java

License:Open Source License

public Engine(Map settings) {
    this.options = new AssistOptions(settings);
    this.compilerOptions = new CompilerOptions(settings);
    this.forbiddenReferenceIsError = (this.compilerOptions.getSeverity(CompilerOptions.ForbiddenReference)
            & ProblemSeverities.Error) != 0;
    this.discouragedReferenceIsError = (this.compilerOptions.getSeverity(CompilerOptions.DiscouragedReference)
            & ProblemSeverities.Error) != 0;
}