public class CapturingDiagnosticListener extends Object implements DiagnosticListener<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(File file,
Collection<CapturingDiagnosticListener.CompilerMessage> messages) |
Modifier and Type | Method and Description |
---|---|
void |
report(Diagnostic<? extends JavaFileObject> d) |
void |
suppress(int start,
int end) |
public CapturingDiagnosticListener(File file, Collection<CapturingDiagnosticListener.CompilerMessage> messages)
public void report(Diagnostic<? extends JavaFileObject> d)
report
in interface DiagnosticListener<JavaFileObject>
public void suppress(int start, int end)
Copyright © 2009-2015 The Project Lombok Authors, licensed under the MIT licence.