apply

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

Applies the first allowed fix from each diagnostic to content.