Package org.eclipse.xtext.resource.impl
Class ListBasedDiagnosticConsumer
- java.lang.Object
-
- org.eclipse.xtext.resource.impl.ListBasedDiagnosticConsumer
-
- All Implemented Interfaces:
IDiagnosticConsumer
public class ListBasedDiagnosticConsumer extends java.lang.Object implements IDiagnosticConsumer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classListBasedDiagnosticConsumer.Internal
-
Constructor Summary
Constructors Constructor Description ListBasedDiagnosticConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconsume(Diagnostic diagnostic, Severity severity)java.util.List<Diagnostic>getResult(Severity severity)booleanhasConsumedDiagnostics(Severity severity)
-
-
-
Method Detail
-
consume
public void consume(Diagnostic diagnostic, Severity severity)
- Specified by:
consumein interfaceIDiagnosticConsumerseverity- the severity of the diagnostic. May neither benullorSeverity.INFO.
-
hasConsumedDiagnostics
public boolean hasConsumedDiagnostics(Severity severity)
- Specified by:
hasConsumedDiagnosticsin interfaceIDiagnosticConsumer- Parameters:
severity- the severity of the diagnostic. May neither benullorSeverity.INFO.
-
getResult
public java.util.List<Diagnostic> getResult(Severity severity)
-
-