Annotation Interface Description
@Retention(RUNTIME)
@Target({FIELD,TYPE})
@Beta
@PublicAPI
@SubjectToRemoval(date=JAN_01_2025)
public @interface Description
(SUBJECT TO REMOVAL)
The annotated element has a description contained in this annotation.
WARNING: although not deprecated (to avoid warnings that are of little use), this annotation is subject to removal, along with the API discovery tools that used it.
Marks types/enum instances (typically parameter objects) which are meant to expose to the user (through reflection based dynamic API discovery) to choose from in a specific situation
Please note that this annotation is marked with @Beta annotation, so it can be subject of incompatible change or remove in later releases.
-
Required Element Summary
-
Element Details
-
shortName
String shortNameShort name of the descripted element.Short name is used as a label or argument name. Values are expected to
- Contain only lovercase alphanumeric characters, "
_
" or "-
". - Be human readable.
- Be short.
- Returns:
- Short name
- Contain only lovercase alphanumeric characters, "
-
name
String nameElement name.- Returns:
- Name
-
description
String descriptionElement description description.Expected to contain a human readable description composed of one or more complete sentence.
- Returns:
- Human readable description
-