analyze abstract method

List<LintIssue> analyze(
  1. CompilationUnit unit
)

Analyze the given CompilationUnit and return a list of LintIssues.

Implement this method to provide the core logic for your custom lint rule.

Implementation

List<LintIssue> analyze(CompilationUnit unit);