1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package jdk.jfr.consumer;
17
18 import jdk.jfr.EventType;
19
20 public final class RecordedEvent {
21 public RecordedEvent() {
22 throw new UnsupportedOperationException("Stub should only be used at compile time");
23 }
24
25 public String getString(String fieldName) {
26 throw new UnsupportedOperationException("Stub should only be used at compile time");
27 }
28
29 public boolean getBoolean(String fieldName) {
30 throw new UnsupportedOperationException("Stub should only be used at compile time");
31 }
32
33 public int getInt(String fieldName) {
34 throw new UnsupportedOperationException("Stub should only be used at compile time");
35 }
36
37 public EventType getEventType() {
38 throw new UnsupportedOperationException("Stub should only be used at compile time");
39 }
40
41 public boolean hasField(String fieldName) {
42 throw new UnsupportedOperationException("Stub should only be used at compile time");
43 }
44 }