FixApplier

Applies non-overlapping text edits from diagnostics.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun apply(content: String, diagnostics: List<Diagnostic>, allowUnsafe: Boolean): FixApplicationResult

Applies the first allowed fix from each diagnostic to content.