Annotation Interface PublicApi


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface PublicApi
Indicates that the annotated type is part of the OSHI public API. Public API types follow Semantic Versioning: they are guaranteed to remain binary-compatible within the same major version.

Types not annotated with @PublicApi (such as platform-specific implementations, drivers, and utility classes) may change between minor releases.