Indicates a public API that is stable for callers to use, but has no guarantee of stability for
extension. Consequently, the API should only be extended within the package containing the API.
For example:
An interface marked with this annotation can have new methods added to it.
A non-final class with this annotation can be marked final.
A class with this annotation can have new abstract methods added.
a non-final method with this annotation can be marked final.
The list above is just for illustration purposes and is not exhaustive.
Adding this annotation to an API is considered API-breaking.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["The latest version available is 2.46.1, but the page also documents versions going back to 2.1.2."],["The `InternalExtensionOnly` interface is a public API designed for stability in usage but not in extension, meaning it's safe to use but can change in ways that might break extensions."],["`InternalExtensionOnly` should only be extended within the package containing the API, as new methods may be added to interfaces, classes can be marked final, and methods can be marked as final."],["Adding the `InternalExtensionOnly` annotation to an API is considered an API-breaking change."],["The `value()` method of `InternalExtensionOnly` provides context on why the interface or class is annotated."]]],[]]