Module jdk.jfr
Package jdk.jfr

Annotation Type Name


  • @Target({TYPE,FIELD,METHOD})
    @Retention(RUNTIME)
    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).

    Since:
    9
    • Required Element Summary

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

      • value

        String value
        Returns the name.
        Returns:
        the name

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部