--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/MirrorEvent.java Wed Oct 31 02:10:21 2018 +0100
@@ -0,0 +1,25 @@
+package jdk.jfr.internal;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.ElementType;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Target({ ElementType.TYPE })
+public @interface MirrorEvent {
+ /**
+ * Fully qualified name of the class to mirror metadata for (for example,
+ * {@code "jdk.internal.event.Example"})
+ *
+ * @return the fully qualified class name of the event
+ */
+ String className();
+
+ /**
+ * The module where the event is located, by default {@code "java.base"}.
+ *
+ * @return the module name
+ */
+ String module() default "java.base";
+}