checkstyle: declare org.jetbrains and javax.annotation Nullable's and NotNull/Nonnull as illegal imports

This commit is contained in:
evermind 2022-11-28 13:33:50 +01:00
parent 6b89b44dcd
commit f2e3020f9d
1 changed files with 3 additions and 1 deletions

View File

@ -95,7 +95,9 @@
<!-- Checks for imports -->
<!-- See https://checkstyle.org/config_import.html -->
<module name="AvoidStarImport"/>
<module name="IllegalImport"/> <!-- defaults to sun.* packages -->
<module name="IllegalImport"> <!-- defaults to sun.* packages -->
<property name="illegalClasses" value="org.jetbrains.annotations.Nullable, org.jetbrains.annotations.NotNull, javax.annotation.Nullable, javax.annotation.Nonnull" />
</module>
<module name="RedundantImport"/>
<module name="UnusedImports"/>