Package-level declarations
Types
Describes information supported by a Diagnostic; extended into mutable form where this type is used by builders.
Provides static utility methods for working with Diagnostic and MutableDiagnostic records, as well as native entrypoints for reporting to the diagnostics buffer.
Provides the readable end of a DiagnosticsReceiver; supplies facilities for querying against diagnostics held from the receiver. In most cases, a receiver is also a buffer.
Simple container type which holds records complying with DiagnosticInfo; functions as both a DiagnosticsReceiver and DiagnosticsBuffer. This container is thread-safe and can be locked to prevent further writes. Under the hood, it uses a simple ConcurrentLinkedQueue and atomics, so it is always safe but not the most performant choice possible.
Receives diagnostics emitted from a compiler, tool, or other developer-oriented non-runtime step; diagnostics model such concepts as compiler warnings, linter notices, and so on. Diagnostics are received in several ways: for JVM, diagnostics can be reported to any DiagnosticsReceiver-compliant instance. For native code, a singleton static instance of DiagnosticsReceiver is provided at Diagnostics.
Complements DiagnosticsBuffer with additional query functionality. Represents a collection of diagnostics that are related and can be summarized.
Describes a class which carries fully mutable diagnostic information; this class is also made available reflectively for spawning new diagnostics from native contexts.
Describes information supported by a Diagnostic; extended into mutable form where this type is used by builders. All properties on this object are rendered mutable (particularly for use by builders).
Data class representing a source location; a source location uses the combination of a line and column to identify where a Diagnostic was triggered in source code.
Source position: describes a zero-based absolute position within a source file.
Describes source code originating from some place and which was/is eligible as guest code; this includes file sources or simple code snippets.
Relative source position: describes a zero-based offset-expressed position within a source file, relative to some other position (typically the first type provided as a SourcePosition).