1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package jdk.jfr;
17
18 public final class FlightRecorder {
19 private FlightRecorder() {
20 throw new UnsupportedOperationException("Stub should only be used at compile time");
21 }
22
23 public static boolean isAvailable() {
24 throw new UnsupportedOperationException("Stub should only be used at compile time");
25 }
26
27 public static void addListener(FlightRecorderListener changeListener) {
28 throw new UnsupportedOperationException("Stub should only be used at compile time");
29 }
30
31 public static boolean removeListener(FlightRecorderListener changeListener) {
32 throw new UnsupportedOperationException("Stub should only be used at compile time");
33 }
34
35 public static void register(Class<? extends Event> eventClass) {
36 throw new UnsupportedOperationException("Stub should only be used at compile time");
37 }
38 }