public class CapturingDiagnosticListener
extends java.lang.Object
implements javax.tools.DiagnosticListener<javax.tools.JavaFileObject>
CompilerMessage objects and supports removing some of these.
Currently this class is only used for testing purposes.| Modifier and Type | Class and Description |
|---|---|
static class |
CapturingDiagnosticListener.CompilerMessage |
| Constructor and Description |
|---|
CapturingDiagnosticListener(java.io.File file,
java.util.Collection<CapturingDiagnosticListener.CompilerMessage> messages) |
| Modifier and Type | Method and Description |
|---|---|
void |
report(javax.tools.Diagnostic<? extends javax.tools.JavaFileObject> d) |
void |
suppress(int start,
int end) |
public CapturingDiagnosticListener(java.io.File file,
java.util.Collection<CapturingDiagnosticListener.CompilerMessage> messages)
Copyright © 2009-2015 The Project Lombok Authors, licensed under the MIT licence.