FixGenerator class
A generator that will generate an 'edit.getFixes' response.
Clients may not extend, implement or mix-in this class.
Constructors
-
FixGenerator(List<
FixContributor> contributors) -
Initialize a newly created fix generator to use the given
contributors
.
Properties
-
contributors
→ List<
FixContributor> -
The contributors to be used to generate the fixes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateFixesResponse(
FixesRequest request) → Future< GeneratorResult< EditGetFixesResult> > -
Create an 'edit.getFixes' response for the location in the file specified
by the given
request
. If any of the contributors throws an exception, also create a non-fatal 'plugin.error' notification. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited