List of usage examples for org.eclipse.jdt.internal.compiler AbstractAnnotationProcessorManager setErr
public abstract void setErr(PrintWriter err);
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 ww w .j av a 2 s . c om newCompiler.annotationProcessorManager = annotationManager; }