ReadonlydescriptionA short description of what the plugin does.
ReadonlynameA unique, human-readable name of the plugin.
ReadonlytypeThe type of the plugin, determining when and for what purpose it is applied during the analysis.
ReadonlyversionThe version of the plugin, ideally following semver.
StaticdefaultReturns a default/dummy implementation to be used when no plugin of this type is registered or triggered.
OptionalforkOptional Hook to create deep copies of a Plugin for analyzer forks If not implemented forking an analyzer will copy by reference
ProtectedprocessRun the plugin with the given context and arguments.
With
activated, resumes only once a context analyzes its files again, as an editor or a watch does, and where it pays: the first analysis keeps no checkpoint, so an analysis that stays the only one costs nothing. Every later one keeps a single checkpoint, after the statements its change left as they were, as the next change likely happens where this one did. So changing a statement again resumes right before it, however far from the end of the file it is, at the cost of one copy of the analysis up to there, and a change that leaves nothing to resume from (e.g., of the first statement, or of one of multiple files) keeps no checkpoint at all.