Example usage for org.eclipse.jdt.internal.compiler SourceElementNotifier SourceElementNotifier

List of usage examples for org.eclipse.jdt.internal.compiler SourceElementNotifier SourceElementNotifier

Introduction

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

Prototype

public SourceElementNotifier(ISourceElementRequestor requestor, boolean reportLocalDeclarations) 

Source Link

Usage

From source file:org.codehaus.jdt.groovy.integration.internal.MultiplexingSourceElementRequestorParser.java

License:Open Source License

public MultiplexingSourceElementRequestorParser(ProblemReporter problemReporter,
        ISourceElementRequestor requestor, IProblemFactory problemFactory, CompilerOptions options,
        boolean reportLocalDeclarations, boolean optimizeStringLiterals) {
    super(requestor, problemFactory, options, reportLocalDeclarations, optimizeStringLiterals);
    // The superclass that is extended is in charge of parsing .java files
    this.groovyRequestor = requestor;
    this.notifier = new SourceElementNotifier(requestor, reportLocalDeclarations);
    this.parser = new GroovyParser(requestor, this.options, problemReporter, false, true);
}