This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| public static class | ForwardingDiagnosticFormatter.
A delegated formatter configuration delegates all configurations settings to an underlying configuration object (aka the delegated configuration). |
| Modifier and Type | Field and Description |
|---|---|
| protected ForwardingDiagnosticFormatter. | |
| protected F | formatter
The delegated formatter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | displaySource(D diag)
Implements com. Whether the source code output for this diagnostic is to be displayed. |
| public String | format(D diag, Locale l)
Implements com. Format the contents of a diagnostics. |
| public String | formatKind(D diag, Locale l)
Implements com. Controls the way in which a diagnostic kind is displayed. |
| public String | formatMessage(D diag, Locale l)
Implements com. Controls the way in which a diagnostic message is displayed. |
| public String | formatPosition(D diag, DiagnosticFormatter.
Implements com. Controls the way in which a diagnostic position is displayed. |
| public String | formatSource(D diag, boolean fullname, Locale l)
Implements com. Controls the way in which a diagnostic source is displayed. |
| public DiagnosticFormatter. | getConfiguration()
Implements com. Get a list of all the enabled verbosity options. |
| public F |
| configuration | back to summary |
|---|---|
| protected ForwardingDiagnosticFormatter. | |
| formatter | back to summary |
|---|---|
| protected F formatter The delegated formatter | |
| ForwardingDiagnosticFormatter | back to summary |
|---|---|
| public ForwardingDiagnosticFormatter(F formatter) | |
| displaySource | back to summary |
|---|---|
| public boolean displaySource(D diag) Implements com. Doc from com. Whether the source code output for this diagnostic is to be displayed. | |
| format | back to summary |
|---|---|
| public String format(D diag, Locale l) Implements com. Doc from com. Format the contents of a diagnostics. | |
| formatKind | back to summary |
|---|---|
| public String formatKind(D diag, Locale l) Implements com. Doc from com. Controls the way in which a diagnostic kind is displayed. | |
| formatMessage | back to summary |
|---|---|
| public String formatMessage(D diag, Locale l) Implements com. Doc from com. Controls the way in which a diagnostic message is displayed. | |
| formatPosition | back to summary |
|---|---|
| public String formatPosition(D diag, DiagnosticFormatter. Implements com. Doc from com. Controls the way in which a diagnostic position is displayed. | |
| formatSource | back to summary |
|---|---|
| public String formatSource(D diag, boolean fullname, Locale l) Implements com. Doc from com. Controls the way in which a diagnostic source is displayed. | |
| getConfiguration | back to summary |
|---|---|
| public DiagnosticFormatter. Implements com. Doc from com. Get a list of all the enabled verbosity options. | |
| getDelegatedFormatter | back to summary |
|---|---|
| public F getDelegatedFormatter() Returns the underlying delegated formatter
| |
| Modifier and Type | Field and Description |
|---|---|
| protected DiagnosticFormatter. | configuration
The configuration object to which the forwarding configuration delegates some settings |
| Access | Constructor and Description |
|---|---|
| public |
| configuration | back to summary |
|---|---|
| protected DiagnosticFormatter. The configuration object to which the forwarding configuration delegates some settings | |
| ForwardingConfiguration | back to summary |
|---|---|
| public ForwardingConfiguration(DiagnosticFormatter. | |
| getDelegatedConfiguration | back to summary |
|---|---|
| public DiagnosticFormatter. Returns the underlying delegated configuration.
| |
| getMultilineLimit | back to summary |
|---|---|
| public int getMultilineLimit(DiagnosticFormatter. Implements com. Doc from com. Get a multiline diagnostic limit. | |
| getVisible | back to summary |
|---|---|
| public Set Implements com. Doc from com. Retrieve the set of diagnostic parts that should be displayed by the formatter. | |
| setMultilineLimit | back to summary |
|---|---|
| public void setMultilineLimit(DiagnosticFormatter. Implements com. Doc from com. Set a limit for multiline diagnostics. Note Setting a limit has no effect if multiline diagnostics are either fully enabled or disabled. | |
| setVisible | back to summary |
|---|---|
| public void setVisible(Set<DiagnosticFormatter. Implements com. Doc from com. Configure the set of diagnostic parts that should be displayed by the formatter. | |