APIdia Launch Partner
Top Description Methods
jdk.jfr

public @Interface Description

extends Annotation
Annotations
@MetadataDefinition
@Target:TYPE, FIELD, METHOD
@Retention:RUNTIME
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

Annotation that describes an element by using a sentence or two.

Use sentence-style capitalization, capitalize the first letter of the first word, and any proper names such as the word Java. If the description is one sentence, a period should not be included.

Since
9

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

a description
value
()

Returns a sentence or two that describes the annotated element.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String value()

Returns a sentence or two that describes the annotated element.

Returns:String

a description