public final class jdk.jfr.EventType
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.EventType
super_class: java.lang.Object
{
private final jdk.jfr.internal.PlatformEventType platformEventType;
descriptor: Ljdk/jfr/internal/PlatformEventType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<java.lang.String> UNCATEGORIZED;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private java.util.Map<java.lang.String, jdk.jfr.ValueDescriptor> cache;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/ValueDescriptor;>;
void <init>(jdk.jfr.internal.PlatformEventType);
descriptor: (Ljdk/jfr/internal/PlatformEventType;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "Uncategorized"
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
putfield jdk.jfr.EventType.UNCATEGORIZED:Ljava/util/List;
2: aload 0
aload 1
putfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/EventType;
0 4 1 platformEventType Ljdk/jfr/internal/PlatformEventType;
MethodParameters:
Name Flags
platformEventType
public java.util.List<jdk.jfr.ValueDescriptor> getFields();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.getFields:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/EventType;
Signature: ()Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;
public jdk.jfr.ValueDescriptor getField(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jfr/ValueDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.jfr.EventType.cache:Ljava/util/Map;
ifnonnull 9
2: aload 0
invokevirtual jdk.jfr.EventType.getFields:()Ljava/util/List;
astore 2
start local 2 3: new java.util.LinkedHashMap
dup
aload 2
invokeinterface java.util.List.size:()I
invokespecial java.util.LinkedHashMap.<init>:(I)V
astore 3
start local 3 4: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: jdk.jfr.EventType java.lang.String java.util.List java.util.Map top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.ValueDescriptor
astore 4
start local 4 6: aload 3
aload 4
invokevirtual jdk.jfr.ValueDescriptor.getName:()Ljava/lang/String;
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 0
aload 3
putfield jdk.jfr.EventType.cache:Ljava/util/Map;
end local 3 end local 2 9: StackMap locals: jdk.jfr.EventType java.lang.String
StackMap stack:
aload 0
getfield jdk.jfr.EventType.cache:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.ValueDescriptor
astore 2
start local 2 10: aload 2
ifnonnull 12
11: aload 0
getfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
aload 1
invokevirtual jdk.jfr.internal.PlatformEventType.getField:(Ljava/lang/String;)Ljdk/jfr/ValueDescriptor;
astore 2
12: StackMap locals: jdk.jfr.ValueDescriptor
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/jfr/EventType;
0 13 1 name Ljava/lang/String;
3 9 2 fields Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;
4 9 3 newCache Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/ValueDescriptor;>;
6 7 4 v Ljdk/jfr/ValueDescriptor;
10 13 2 result Ljdk/jfr/ValueDescriptor;
MethodParameters:
Name Flags
name
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/EventType;
public java.lang.String getLabel();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.getLabel:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/EventType;
public long getId();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.getId:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/EventType;
public java.util.List<jdk.jfr.AnnotationElement> getAnnotationElements();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.getAnnotationElements:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/EventType;
Signature: ()Ljava/util/List<Ljdk/jfr/AnnotationElement;>;
public boolean isEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.isEnabled:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/EventType;
public java.lang.String getDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.getDescription:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/EventType;
public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A>);
descriptor: (Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
aload 1
invokevirtual jdk.jfr.internal.PlatformEventType.getAnnotation:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.annotation.Annotation
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/EventType;
0 2 1 annotationClass Ljava/lang/Class<TA;>;
Signature: <A::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TA;>;)TA;
MethodParameters:
Name Flags
annotationClass
public static jdk.jfr.EventType getEventType(java.lang.Class<? extends jdk.jfr.Event>);
descriptor: (Ljava/lang/Class;)Ljdk/jfr/EventType;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokestatic jdk.jfr.internal.Utils.ensureValidEventSubclass:(Ljava/lang/Class;)V
2: invokestatic jdk.jfr.internal.JVMSupport.ensureWithInternalError:()V
3: invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
aload 0
invokevirtual jdk.jfr.internal.MetadataRepository.getEventType:(Ljava/lang/Class;)Ljdk/jfr/EventType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 eventClass Ljava/lang/Class<+Ljdk/jfr/Event;>;
Signature: (Ljava/lang/Class<+Ljdk/jfr/Event;>;)Ljdk/jfr/EventType;
MethodParameters:
Name Flags
eventClass
public java.util.List<jdk.jfr.SettingDescriptor> getSettingDescriptors();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.getSettings:()Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/EventType;
Signature: ()Ljava/util/List<Ljdk/jfr/SettingDescriptor;>;
public java.util.List<java.lang.String> getCategoryNames();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
ldc Ljdk/jfr/Category;
invokevirtual jdk.jfr.internal.PlatformEventType.getAnnotation:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast jdk.jfr.Category
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
getfield jdk.jfr.EventType.UNCATEGORIZED:Ljava/util/List;
areturn
3: StackMap locals: jdk.jfr.Category
StackMap stack:
aload 1
invokeinterface jdk.jfr.Category.value:()[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/EventType;
1 4 1 c Ljdk/jfr/Category;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
jdk.jfr.internal.Type getType();
descriptor: ()Ljdk/jfr/internal/Type;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/EventType;
jdk.jfr.internal.PlatformEventType getPlatformEventType();
descriptor: ()Ljdk/jfr/internal/PlatformEventType;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.EventType.platformEventType:Ljdk/jfr/internal/PlatformEventType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/EventType;
}
SourceFile: "EventType.java"