FutureCallsAnalyzer class

Analyzes dart files for FutureCalls.

Constructors

FutureCallsAnalyzer({required Directory directory, required FutureCallMethodParameterValidator parameterValidator})
Create a new FutureCallsAnalyzer, containing a AnalysisContextCollection that analyzes all dart files in the provided directory.

Properties

absoluteIncludedPaths String
final
collection → AnalysisContextCollection
final
hashCode int
The hash code for this object.
no setterinherited
parameterValidator → FutureCallMethodParameterValidator
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

analyze({required CodeAnalysisCollector collector, Set<String>? changedFiles}) Future<List<FutureCallDefinition>>
Analyze all files in the AnalysisContextCollection.
analyzeModels(CodeAnalysisCollector collector) Future<List<SerializableModelDefinition>>
Analyze all files in the AnalysisContextCollection for FutureCallParameterDefinition which need to be converted into SerializableModelDefinition for model generation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateFileContexts(Set<String> filePaths) Future<bool>
Inform the analyzer that the provided filePaths have been updated.

Operators

operator ==(Object other) bool
The equality operator.
inherited