You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to restrict a complete package (even recursively) and just whitelist / mark the public API of a code base as usable. Is there a way to do this with the checker or better use the module system available since Java 9?
Currently it's possible to annotate a package with @Restricted but no restriction is applied then. That's very confusing.
Therefore I suggest to either
a) implement restriction on packages (if possible)
b) apply a @Target annotation on Restricted to prevent its use on packages
The text was updated successfully, but these errors were encountered:
It would be useful to restrict a complete package (even recursively) and just whitelist / mark the public API of a code base as usable. Is there a way to do this with the checker or better use the module system available since Java 9?
Currently it's possible to annotate a package with
@Restricted
but no restriction is applied then. That's very confusing.Therefore I suggest to either
a) implement restriction on packages (if possible)
b) apply a
@Target
annotation on Restricted to prevent its use on packagesThe text was updated successfully, but these errors were encountered: