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 webpage documents different versions of the `InternalExtensionOnly` interface, with version 2.46.1 being the latest."],["`InternalExtensionOnly` is a public API in Java, but stability is only guaranteed for direct use, not for extension."],["Changes that may break extensions, like adding methods to the interface or finalizing a class, are permissible."],["Adding this annotation to an API is considered API-breaking."],["This annotation provides context to the user via a String value as to why it is used on a particular class or interface."]]],[]]