Example usage for org.eclipse.jdt.internal.compiler AbstractAnnotationProcessorManager setOut

List of usage examples for org.eclipse.jdt.internal.compiler AbstractAnnotationProcessorManager setOut

Introduction

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

Prototype

public abstract void setOut(PrintWriter out);

Source Link

Document

Set the print writer for the standard output.

Usage

From source file:net.sf.j2s.core.builder.AbstractImageBuilder.java

License:Open Source License

protected void initializeAnnotationProcessorManager(Compiler newCompiler) {
    AbstractAnnotationProcessorManager annotationManager = JavaModelManager.getJavaModelManager()
            .createAnnotationProcessorManager();
    if (annotationManager != null) {
        annotationManager.configureFromPlatform(newCompiler, this, this.javaBuilder.javaProject);
        annotationManager.setErr(new PrintWriter(System.err));
        annotationManager.setOut(new PrintWriter(System.out));
    }/*from w  w w .  java2 s. com*/
    newCompiler.annotationProcessorManager = annotationManager;
}