@Documented @Retention(value=SOURCE) @Target(value={METHOD,FIELD,CONSTRUCTOR,TYPE}) public @interface PackageLocal
@PackageLocal marks an element as intentionally package scoped. The
audience is library maintainers documenting visibility choices.
Retention and effect: Retained only in the source and discarded by the compiler. There is no runtime effect unless tooling inspects the source.
@PackageLocal class Helper { }
Package-private access avoids SecurityManager checks and can
enable sealed hierarchies. Use this annotation to silence IDE warnings such
as "access can be private".
UsedViaReflectionCopyright © 2026 Chronicle Software Ltd. All rights reserved.