UsePathJoinFix class
Fix for do_not_use_raw_paths
Constructors
Properties
-
filesToAnalyze
→ List<
String> -
A list of glob patterns matching the files that run cares about.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
A unique ID for a fix. Must be unique across all fixes of any package.
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
CustomLintResolver resolver, ChangeReporter reporter, CustomLintContext context, Diagnostic analysisError, List< Diagnostic> others) → void - Emits lints for a given file.
-
startUp(
CustomLintResolver resolver, CustomLintContext context) → Future< void> -
Emits lints for a given file.
inherited
-
testAnalyzeAndRun(
File file, AnalysisError analysisError, List< AnalysisError> others) → Future<List< PrioritizedSourceChange> > -
Analyze a Dart file and runs this fix in test mode.
inherited
-
testRun(
ResolvedUnitResult result, AnalysisError analysisError, List< AnalysisError> others, {Pubspec? pubspec}) → Future<List< PrioritizedSourceChange> > -
Runs this fix in test mode.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createSegmentsString(
String path) → String - Split the given path into a list of segments