Annotation Type InternalApi (2.20.0)

public interface InternalApi implements Annotation

Annotates a program element (class, method, package etc) which is internal to its containing library, not part of the public API, and should not be used by users of the library.

This annotation only makes sense on APIs that are not private. Its existence is necessary because Java does not have a visibility level for code within a compilation unit.

Adding this annotation to an API is considered API-breaking.

Implements

Annotation

Methods

value()

public abstract String value()

Context information such as "internal to library", "for testing", etc.

Returns
TypeDescription
String