DRocketLintsPlugin class
The d_rocket analyzer plugin. Registers both lint rules and one IDE quick-fix:
- LinqClosureRule —
d_rocket_untranslated_closure_linqwith associated LinqClosureFix ("Rewrite with Expr.lambda") - NPlusOneRule —
d_rocket_n_plus_one(no fix yet; the fix is structural — add.include_<T>()at the call site — which is too risky to auto-apply)
The plugin runs in its own isolate inside
the Dart analysis server. Lints are surfaced
by dart analyze and the IDE.
- Inheritance
-
- Object
- Plugin
- DRocketLintsPlugin
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
PluginRegistry registry) → void -
Registers analysis rules, quick fixes, and assists.
override
-
shutDown(
) → FutureOr< void> -
inherited
-
start(
) → FutureOr< void> -
Initializes any necessary start-up state that is required for this plugin
to run.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited