rulesWithFixes top-level property

Set<String> get rulesWithFixes

Rule names that have at least one quick-fix generator.

Computed alongside _ruleFactories during the same temporary-instance pass, so there is zero additional instantiation cost. Used by ViolationExporter to include fix availability in the JSON export, which the VS Code extension reads to disable "Apply fix" for rules without fixes.

Implementation

Set<String> get rulesWithFixes {
  // Fix: avoid_unnecessary_statements — bind the lazy getter to a throwaway
  // variable so the expression has a documented consumer. The read is still
  // what triggers lazy initialization of _ruleFactories.
  final _ = _ruleFactories;
  return _rulesWithFixesSet;
}