Module jdk.jfr
Package jdk.jfr

Annotation Type Name

public @interface Name
Annotation that overrides the default name for an element (for example, when the default package for an event is not appropriate).

The name must be a valid identifiers in the Java language (for example, "com.example.MyEvent" for an event class or "message" for an event field).

  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    String value
    Returns the name.
  • Element Details

    • value

      String value
      Returns the name.
      the name