Skip to content

Conversation

ghik
Copy link
Contributor

@ghik ghik commented Mar 9, 2023

Example compiler option to enable this rule:

-P:AVSystemAnalyzer:basePackage:com.avsystem.commons

The rule checks two things:

  • whether everything is in the specified package
  • whether the specified package is also a base package, i.e. any subpackages must be specified in a separate, chained package clause

@ghik ghik requested a review from sebaciv March 9, 2023 17:26
@ghik ghik merged commit 854d9e2 into master Mar 9, 2023
@ghik ghik deleted the base-package-analyzer-rule branch March 9, 2023 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants