public final class jdk.jfr.AnnotationElement
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.AnnotationElement
super_class: java.lang.Object
{
private final jdk.jfr.internal.Type type;
descriptor: Ljdk/jfr/internal/Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<java.lang.Object> annotationValues;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Object;>;
private final boolean inBootClassLoader;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.jfr.internal.Type, java.util.List<java.lang.Object>, );
descriptor: (Ljdk/jfr/internal/Type;Ljava/util/List;Z)V
flags: (0x0000)
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
aload 1
putfield jdk.jfr.AnnotationElement.type:Ljdk/jfr/internal/Type;
4: aload 1
invokevirtual jdk.jfr.internal.Type.getFields:()Ljava/util/List;
astore 4
start local 4 5: aload 4
invokeinterface java.util.List.size:()I
istore 5
start local 5 6: aload 2
invokeinterface java.util.List.size:()I
iload 5
if_icmpeq 18
7: new java.util.StringJoiner
dup
ldc ","
ldc "["
ldc "]"
invokespecial java.util.StringJoiner.<init>:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V
astore 6
start local 6 8: aload 1
invokevirtual jdk.jfr.internal.Type.getFields:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 11
StackMap locals: jdk.jfr.AnnotationElement jdk.jfr.internal.Type java.util.List int java.util.List int java.util.StringJoiner top java.util.Iterator
StackMap stack:
9: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.ValueDescriptor
astore 7
start local 7 10: aload 6
aload 7
invokevirtual jdk.jfr.ValueDescriptor.getName:()Ljava/lang/String;
invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
pop
end local 7 11: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: new java.util.StringJoiner
dup
ldc ","
ldc "["
ldc "]"
invokespecial java.util.StringJoiner.<init>:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V
astore 7
start local 7 13: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 16
StackMap locals: jdk.jfr.AnnotationElement jdk.jfr.internal.Type java.util.List int java.util.List int java.util.StringJoiner java.util.StringJoiner top java.util.Iterator
StackMap stack:
14: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 8
start local 8 15: aload 6
aload 8
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
pop
end local 8 16: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
17: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Annotation "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " doesn't match number of values "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 7 end local 6 18: StackMap locals: jdk.jfr.AnnotationElement jdk.jfr.internal.Type java.util.List int java.util.List int
StackMap stack:
iconst_0
istore 6
start local 6 19: goto 28
20: StackMap locals: int
StackMap stack:
aload 2
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 7
start local 7 21: aload 7
ifnonnull 23
22: new java.lang.IllegalArgumentException
dup
ldc "Annotation value can't be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals: java.lang.Object
StackMap stack:
aload 7
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 8
start local 8 24: aload 4
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.jfr.ValueDescriptor
invokevirtual jdk.jfr.ValueDescriptor.isArray:()Z
ifeq 26
25: aload 8
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 8
26: StackMap locals: java.lang.Class
StackMap stack:
aload 8
invokestatic jdk.jfr.internal.Utils.unboxType:(Ljava/lang/Class;)Ljava/lang/Class;
invokestatic jdk.jfr.AnnotationElement.checkType:(Ljava/lang/Class;)V
end local 8 end local 7 27: iinc 6 1
StackMap locals:
StackMap stack:
28: iload 6
iload 5
if_icmplt 20
end local 6 29: aload 0
aload 2
invokestatic jdk.jfr.internal.Utils.smallUnmodifiable:(Ljava/util/List;)Ljava/util/List;
putfield jdk.jfr.AnnotationElement.annotationValues:Ljava/util/List;
30: aload 0
iload 3
putfield jdk.jfr.AnnotationElement.inBootClassLoader:Z
31: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljdk/jfr/AnnotationElement;
0 32 1 type Ljdk/jfr/internal/Type;
0 32 2 objects Ljava/util/List<Ljava/lang/Object;>;
0 32 3 boot Z
5 32 4 fields Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;
6 32 5 fieldCount I
8 18 6 descriptors Ljava/util/StringJoiner;
10 11 7 v Ljdk/jfr/ValueDescriptor;
13 18 7 values Ljava/util/StringJoiner;
15 16 8 object Ljava/lang/Object;
19 29 6 index I
21 27 7 object Ljava/lang/Object;
24 27 8 valueType Ljava/lang/Class<*>;
Signature: (Ljdk/jfr/internal/Type;Ljava/util/List<Ljava/lang/Object;>;Z)V
MethodParameters:
Name Flags
type
objects
boot
public void <init>(java.lang.Class<? extends java.lang.annotation.Annotation>, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljava/lang/Class;Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=17, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: invokestatic jdk.jfr.internal.Utils.checkRegisterPermission:()V
4: new java.util.HashMap
dup
aload 2
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 3
start local 3 5: aload 3
invokevirtual java.util.HashMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: jdk.jfr.AnnotationElement java.lang.Class java.util.Map java.util.HashMap top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 7: aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
ifnonnull 9
8: new java.lang.NullPointerException
dup
ldc "Name of annotation method can't be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: jdk.jfr.AnnotationElement java.lang.Class java.util.Map java.util.HashMap java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
ifnonnull 11
10: new java.lang.NullPointerException
dup
ldc "Return value for annotation method can't be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
end local 4 11: StackMap locals: jdk.jfr.AnnotationElement java.lang.Class java.util.Map java.util.HashMap top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
12: ldc Ljdk/jfr/AnnotationElement;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 14
aload 1
invokevirtual java.lang.Class.isInterface:()Z
ifeq 14
13: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Must be interface extending "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc Ljava/lang/annotation/Annotation;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: jdk.jfr.AnnotationElement java.lang.Class java.util.Map java.util.HashMap
StackMap stack:
aload 1
invokestatic jdk.jfr.AnnotationElement.isKnownJFRAnnotation:(Ljava/lang/Class;)Z
ifne 16
aload 1
ldc Ljdk/jfr/MetadataDefinition;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
ifnonnull 16
15: new java.lang.IllegalArgumentException
dup
ldc "Annotation class must be annotated with jdk.jfr.MetadataDefinition to be valid"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.jfr.AnnotationElement.isKnownJFRAnnotation:(Ljava/lang/Class;)Z
ifeq 19
17: aload 0
new jdk.jfr.internal.Type
dup
aload 1
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
getstatic jdk.jfr.internal.Type.SUPER_TYPE_ANNOTATION:Ljava/lang/String;
aload 1
invokestatic jdk.jfr.internal.Type.getTypeId:(Ljava/lang/Class;)J
invokespecial jdk.jfr.internal.Type.<init>:(Ljava/lang/String;Ljava/lang/String;J)V
putfield jdk.jfr.AnnotationElement.type:Ljdk/jfr/internal/Type;
18: goto 20
19: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.jfr.internal.TypeLibrary.createAnnotationType:(Ljava/lang/Class;)Ljdk/jfr/internal/Type;
putfield jdk.jfr.AnnotationElement.type:Ljdk/jfr/internal/Type;
20: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
astore 4
start local 4 21: aload 4
arraylength
aload 3
invokevirtual java.util.HashMap.size:()I
if_icmpeq 23
22: new java.lang.IllegalArgumentException
dup
ldc "Number of declared methods must match size of value map"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals: java.lang.reflect.Method[]
StackMap stack:
new java.util.ArrayList
dup
aload 4
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 5
start local 5 24: aload 4
arraylength
iconst_1
if_icmple 25
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
goto 26
StackMap locals: java.util.List
StackMap stack:
25: aconst_null
StackMap locals:
StackMap stack: java.util.HashSet
26: astore 6
start local 6 27: aload 4
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 63
StackMap locals: jdk.jfr.AnnotationElement java.lang.Class java.util.Map java.util.HashMap java.lang.reflect.Method[] java.util.List java.util.Set top int int java.lang.reflect.Method[]
StackMap stack:
28: aload 10
iload 8
aaload
astore 7
start local 7 29: aload 7
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 11
start local 11 30: aload 3
aload 11
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 12
start local 12 31: aload 12
ifnonnull 33
32: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "No method in annotation interface "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " matching name "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
33: StackMap locals: jdk.jfr.AnnotationElement java.lang.Class java.util.Map java.util.HashMap java.lang.reflect.Method[] java.util.List java.util.Set java.lang.reflect.Method int int java.lang.reflect.Method[] java.lang.String java.lang.Object
StackMap stack:
aload 12
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 13
start local 13 34: aload 13
ldc Ljava/lang/Class;
if_acmpne 36
35: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Annotation value for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " can't be class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
36: StackMap locals: java.lang.Class
StackMap stack:
aload 12
instanceof java.lang.Enum
ifeq 38
37: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Annotation value for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " can't be enum"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
38: StackMap locals:
StackMap stack:
aload 13
aload 12
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 40
39: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Return type of annotation "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 13
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " must match type of object"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 12
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
40: StackMap locals:
StackMap stack:
aload 13
invokevirtual java.lang.Class.isArray:()Z
ifeq 52
41: aload 13
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 14
start local 14 42: aload 14
invokestatic jdk.jfr.AnnotationElement.checkType:(Ljava/lang/Class;)V
43: aload 14
ldc Ljava/lang/String;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 54
44: aload 12
checkcast java.lang.String[]
astore 15
start local 15 45: iconst_0
istore 16
start local 16 46: goto 50
47: StackMap locals: java.lang.Class java.lang.String[] int
StackMap stack:
aload 15
iload 16
aaload
ifnonnull 49
48: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Annotation value for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " contains null"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
49: StackMap locals:
StackMap stack:
iinc 16 1
StackMap locals:
StackMap stack:
50: iload 16
aload 15
arraylength
if_icmplt 47
end local 16 end local 15 end local 14 51: goto 54
52: StackMap locals:
StackMap stack:
aload 12
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic jdk.jfr.internal.Utils.unboxType:(Ljava/lang/Class;)Ljava/lang/Class;
astore 13
53: aload 13
invokestatic jdk.jfr.AnnotationElement.checkType:(Ljava/lang/Class;)V
54: StackMap locals:
StackMap stack:
aload 6
ifnull 58
55: aload 6
aload 11
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 57
56: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Value with name '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' already exists"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
57: StackMap locals:
StackMap stack:
aload 6
aload 11
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
58: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.jfr.AnnotationElement.isKnownJFRAnnotation:(Ljava/lang/Class;)Z
ifeq 61
59: new jdk.jfr.ValueDescriptor
dup
aload 13
aload 11
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
iconst_1
invokespecial jdk.jfr.ValueDescriptor.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/util/List;Z)V
astore 14
start local 14 60: aload 0
getfield jdk.jfr.AnnotationElement.type:Ljdk/jfr/internal/Type;
aload 14
invokevirtual jdk.jfr.internal.Type.add:(Ljdk/jfr/ValueDescriptor;)V
end local 14 61: StackMap locals:
StackMap stack:
aload 5
aload 12
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 13 end local 12 end local 11 end local 7 62: iinc 8 1
StackMap locals: jdk.jfr.AnnotationElement java.lang.Class java.util.Map java.util.HashMap java.lang.reflect.Method[] java.util.List java.util.Set top int int java.lang.reflect.Method[]
StackMap stack:
63: iload 8
iload 9
if_icmplt 28
64: aload 0
aload 5
invokestatic jdk.jfr.internal.Utils.smallUnmodifiable:(Ljava/util/List;)Ljava/util/List;
putfield jdk.jfr.AnnotationElement.annotationValues:Ljava/util/List;
65: aload 0
aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
ifnonnull 66
iconst_1
goto 67
StackMap locals: jdk.jfr.AnnotationElement java.lang.Class java.util.Map java.util.HashMap java.lang.reflect.Method[] java.util.List java.util.Set
StackMap stack: jdk.jfr.AnnotationElement
66: iconst_0
StackMap locals: jdk.jfr.AnnotationElement java.lang.Class java.util.Map java.util.HashMap java.lang.reflect.Method[] java.util.List java.util.Set
StackMap stack: jdk.jfr.AnnotationElement int
67: putfield jdk.jfr.AnnotationElement.inBootClassLoader:Z
68: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 69 0 this Ljdk/jfr/AnnotationElement;
0 69 1 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
0 69 2 values Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
5 69 3 map Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
7 11 4 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
21 69 4 methods [Ljava/lang/reflect/Method;
24 69 5 v Ljava/util/List<Ljava/lang/Object;>;
27 69 6 nameSet Ljava/util/Set<Ljava/lang/String;>;
29 62 7 method Ljava/lang/reflect/Method;
30 62 11 fieldName Ljava/lang/String;
31 62 12 object Ljava/lang/Object;
34 62 13 fieldType Ljava/lang/Class<*>;
42 51 14 componentType Ljava/lang/Class<*>;
45 51 15 stringArray [Ljava/lang/String;
46 51 16 i I
60 61 14 vd Ljdk/jfr/ValueDescriptor;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
annotationType
values
public void <init>(java.lang.Class<? extends java.lang.annotation.Annotation>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
ldc "value"
aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic java.util.Collections.singletonMap:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;Ljava/util/Map;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/AnnotationElement;
0 2 1 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
0 2 2 value Ljava/lang/Object;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;Ljava/lang/Object;)V
MethodParameters:
Name Flags
annotationType
value
public void <init>(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/AnnotationElement;
0 2 1 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)V
MethodParameters:
Name Flags
annotationType
public java.util.List<java.lang.Object> getValues();
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.AnnotationElement.annotationValues:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/AnnotationElement;
Signature: ()Ljava/util/List<Ljava/lang/Object;>;
public java.util.List<jdk.jfr.ValueDescriptor> getValueDescriptors();
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.AnnotationElement.type:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.getFields:()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/AnnotationElement;
Signature: ()Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;
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.AnnotationElement.type:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.getAnnotationElements:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/AnnotationElement;
Signature: ()Ljava/util/List<Ljdk/jfr/AnnotationElement;>;
public java.lang.String getTypeName();
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.AnnotationElement.type:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/AnnotationElement;
public java.lang.Object getValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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.AnnotationElement.type:Ljdk/jfr/internal/Type;
aload 1
invokevirtual jdk.jfr.internal.Type.indexOf:(Ljava/lang/String;)I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpeq 4
3: aload 0
getfield jdk.jfr.AnnotationElement.annotationValues:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
areturn
4: StackMap locals: int
StackMap stack:
new java.util.StringJoiner
dup
ldc ","
ldc "["
ldc "]"
invokespecial java.util.StringJoiner.<init>:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V
astore 3
start local 3 5: aload 0
getfield jdk.jfr.AnnotationElement.type:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.getFields:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: jdk.jfr.AnnotationElement java.lang.String int java.util.StringJoiner top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.ValueDescriptor
astore 4
start local 4 7: aload 3
aload 4
invokevirtual jdk.jfr.ValueDescriptor.getName:()Ljava/lang/String;
invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
pop
end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "No value with name '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'. Valid names are "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/jfr/AnnotationElement;
0 10 1 name Ljava/lang/String;
2 10 2 index I
5 10 3 valueNames Ljava/util/StringJoiner;
7 8 4 v Ljdk/jfr/ValueDescriptor;
MethodParameters:
Name Flags
name
public boolean hasValue(java.lang.String);
descriptor: (Ljava/lang/String;)Z
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.AnnotationElement.type:Ljdk/jfr/internal/Type;
aload 1
invokevirtual jdk.jfr.internal.Type.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/AnnotationElement;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public final <A> A getAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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.AnnotationElement.type:Ljdk/jfr/internal/Type;
aload 1
invokevirtual jdk.jfr.internal.Type.getAnnotation:(Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/AnnotationElement;
0 2 1 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: <A:Ljava/lang/Object;>(Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)TA;
MethodParameters:
Name Flags
annotationType
public long getTypeId();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.AnnotationElement.type:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.getId:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/AnnotationElement;
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.AnnotationElement.type:Ljdk/jfr/internal/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/AnnotationElement;
private static void checkType(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
ldc Ljava/lang/String;
if_acmpne 4
3: return
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Only primitives types or java.lang.String are allowed"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
type
private static boolean isKnownJFRAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljdk/jfr/Registered;
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
ldc Ljdk/jfr/Threshold;
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
ldc Ljdk/jfr/StackTrace;
if_acmpne 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
ldc Ljdk/jfr/Period;
if_acmpne 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 0
ldc Ljdk/jfr/Enabled;
if_acmpne 10
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 annotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Z
MethodParameters:
Name Flags
annotationType
boolean isInBoot();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.AnnotationElement.inBootClassLoader:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/AnnotationElement;
}
SourceFile: "AnnotationElement.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map