Annotation Type Internal


Marks a type or member that is public for technical reasons but is NOT part of the supported plugin API, even though it lives in a PublicApi package.

Typical cases: a facade constructor or helper whose signature names an adapter or mapping type, a server-specific helper that sits in privbot.hooks, or wiring that PrivContext needs across packages. Plugins should not call these. They can change or disappear in any release, and the API compatibility gate (-Papi-compat) ignores them.

Retention is RUNTIME (unlike PublicApi) so tests and tooling can read it by reflection; it adds no behaviour.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Why the element is internal, or what a plugin should use instead.
  • Element Details

    • value

      String value
      Why the element is internal, or what a plugin should use instead. Optional.
      Default:
      ""