DartAnnotatedClassAnalyzer class final
Provides a mechanism to analyze Dart classes from a file path.
Constructors
- DartAnnotatedClassAnalyzer({required String filePath, required AnalysisContextCollection analysisContextCollection})
-
const
Properties
- analysisContextCollection → AnalysisContextCollection
-
final
- filePath → String
-
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
-
analyze(
{RegExp? classNameFilter, RegExp? methodNameFilter, RegExp? memberNameFilter, Set< String> ? inclClassAnnotations, Set<String> ? inclMethodAnnotations, Set<String> ? inclMemberAnnotations, _TOnAnnotatedClassCallback? onAnnotatedClass, _TOnClassAnnotationFieldCallback? onClassAnnotationField, _TOnAnnotatedMethodCallback? onAnnotatedMethod, _TOnMethodAnnotationFieldCallback? onMethodAnnotationField, _TOnAnnotatedMemberCallback? onAnnotatedMember, _TOnMemberAnnotationFieldsCallback? onMemberAnnotationField, _TOnPreAnalysis? onPreAnalysis, _TOnPostAnalysis? onPostAnalysis}) → Future<void> - Analyzes the Dart file at filePath via analysisContextCollection.
-
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