Package | Description |
---|---|
com.sun.tools.javac.util |
Modifier and Type | Class and Description |
---|---|
class |
ForwardingDiagnosticFormatter<D extends Diagnostic<?>,F extends DiagnosticFormatter<D>>
A delegated diagnostic formatter delegates all formatting
actions to an underlying formatter (aka the delegated formatter).
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDiagnosticFormatter
This abstract class provides a basic implementation of the functionalities that should be provided
by any formatter used by javac.
|
class |
BasicDiagnosticFormatter
A basic formatter for diagnostic messages.
|
class |
ForwardingDiagnosticFormatter<D extends Diagnostic<?>,F extends DiagnosticFormatter<D>>
A delegated diagnostic formatter delegates all formatting
actions to an underlying formatter (aka the delegated formatter).
|
class |
RawDiagnosticFormatter
A raw formatter for diagnostic messages.
|
class |
RichDiagnosticFormatter
A rich diagnostic formatter is a formatter that provides better integration
with javac's type system.
|
Modifier and Type | Field and Description |
---|---|
protected F |
ForwardingDiagnosticFormatter.formatter
The delegated formatter
|
Modifier and Type | Method and Description |
---|---|
DiagnosticFormatter<JCDiagnostic> |
Log.getDiagnosticFormatter()
Get the current diagnostic formatter.
|
static DiagnosticFormatter<JCDiagnostic> |
JCDiagnostic.getFragmentFormatter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Log.setDiagnosticFormatter(DiagnosticFormatter<JCDiagnostic> diagFormatter)
Set the current diagnostic formatter.
|
Constructor and Description |
---|
JCDiagnostic(DiagnosticFormatter<JCDiagnostic> formatter,
JCDiagnostic.DiagnosticType dt,
Lint.LintCategory lc,
Set<JCDiagnostic.DiagnosticFlag> flags,
DiagnosticSource source,
JCDiagnostic.DiagnosticPosition pos,
String key,
Object... args)
Create a diagnostic object.
|
Copyright © 2017 earcam. All rights reserved.