Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -AskipDirs that is like -AskipDefs #6093

Closed
nitspat opened this issue Jul 12, 2023 · 0 comments · Fixed by #6385
Closed

Add -AskipDirs that is like -AskipDefs #6093

nitspat opened this issue Jul 12, 2023 · 0 comments · Fixed by #6385
Assignees

Comments

@nitspat
Copy link

nitspat commented Jul 12, 2023

When running checkers, I would like to exclude generated classes. However, our generated classes use the same package structure and names as the remaining, hand-written, code.

Enhancement Request:
I would like to be able to exclude generated classes by their directory, e.g.
-skipDirs=".*target\generated-sources\.*"

Thias issue relates to:
https://stackoverflow.com/questions/76662206/excluding-nullnesschecker-by-directory-not-package

@mernst mernst changed the title Let -skipDefs work by directory as well Add -AskipDirs that is like -AskipDefs Jul 12, 2023
@mernst mernst self-assigned this Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants