RemovedAnalysisRule class final

Describes an AbstractAnalysisRule whose implementation has been removed.

Inheritance

Constructors

RemovedAnalysisRule({required String name, required String description, Version? since, String? replacedBy})

Properties

canUseParsedResult bool
Indicates whether this analysis rule can work with just the parsed information or if it requires a resolved unit.
no setterinherited
description String
Short description suitable for display in console output and IDEs.
finalinherited
diagnosticCodes List<DiagnosticCode>
The diagnostic codes associated with this analysis rule.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
incompatibleRules List<String>
A list of incompatible rule names.
no setterinherited
name String
The rule name.
finalinherited
pubspecVisitor PubspecVisitor?
A visitor that visits a Pubspec to perform analysis.
no setterinherited
reporter DiagnosticReporter
Sets the DiagnosticReporter for the CompilationUnit currently being visited.
no getterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state RuleState
The state of this analysis rule.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerNodeProcessors(RuleVisitorRegistry registry, RuleContext context) → void
Registers node processors in the given registry.
inherited
reportAtNode(AstNode? node, {List<Object> arguments = const [], List<DiagnosticMessage>? contextMessages, required DiagnosticCode diagnosticCode}) Diagnostic?
Reports diagnosticCode at node with message arguments and contextMessages.
inherited
reportAtOffset(int offset, int length, {required DiagnosticCode diagnosticCode, List<Object> arguments = const [], List<DiagnosticMessage>? contextMessages}) Diagnostic
Reports diagnosticCode at offset, with length, with message arguments and contextMessages.
inherited
reportAtPubNode(PubspecNode node, {required DiagnosticCode diagnosticCode, List<Object> arguments = const [], List<DiagnosticMessage> contextMessages = const []}) Diagnostic
Reports diagnosticCode at Pubspec node, with message arguments and contextMessages.
inherited
reportAtToken(Token token, {required DiagnosticCode diagnosticCode, List<Object> arguments = const [], List<DiagnosticMessage>? contextMessages}) Diagnostic?
Reports diagnosticCode at token, with message arguments and contextMessages.
inherited
toString() String
A string representation of this object.
inherited

Operators

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