equal
deleted
inserted
replaced
|
1 package jdk.jfr.internal; |
|
2 |
|
3 import java.lang.annotation.Retention; |
|
4 import java.lang.annotation.Target; |
|
5 import java.lang.annotation.RetentionPolicy; |
|
6 import java.lang.annotation.ElementType; |
|
7 |
|
8 @Retention(RetentionPolicy.RUNTIME) |
|
9 @Target({ ElementType.TYPE }) |
|
10 public @interface MirrorEvent { |
|
11 /** |
|
12 * Fully qualified name of the class to mirror metadata for (for example, |
|
13 * {@code "jdk.internal.event.Example"}) |
|
14 * |
|
15 * @return the fully qualified class name of the event |
|
16 */ |
|
17 String className(); |
|
18 |
|
19 /** |
|
20 * The module where the event is located, by default {@code "java.base"}. |
|
21 * |
|
22 * @return the module name |
|
23 */ |
|
24 String module() default "java.base"; |
|
25 } |