public final class jdk.jfr.ValueDescriptor
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.ValueDescriptor
super_class: java.lang.Object
{
private final jdk.jfr.internal.AnnotationConstruct annotationConstruct;
descriptor: Ljdk/jfr/internal/AnnotationConstruct;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jfr.internal.Type type;
descriptor: Ljdk/jfr/internal/Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isArray;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean constantPool;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String javaFieldName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.jfr.internal.Type, java.lang.String, java.util.List<jdk.jfr.AnnotationElement>, int, boolean, java.lang.String);
descriptor: (Ljdk/jfr/internal/Type;Ljava/lang/String;Ljava/util/List;IZLjava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: iload 4
ifge 4
3: new java.lang.IllegalArgumentException
dup
ldc "Dimension must be positive"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: jdk.jfr.ValueDescriptor jdk.jfr.internal.Type java.lang.String java.util.List int int java.lang.String
StackMap stack:
aload 0
aload 2
ldc "Name of value descriptor can't be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
putfield jdk.jfr.ValueDescriptor.name:Ljava/lang/String;
5: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
putfield jdk.jfr.ValueDescriptor.type:Ljdk/jfr/internal/Type;
6: aload 0
iload 4
ifle 7
iconst_1
goto 8
StackMap locals:
StackMap stack: jdk.jfr.ValueDescriptor
7: iconst_0
StackMap locals: jdk.jfr.ValueDescriptor jdk.jfr.internal.Type java.lang.String java.util.List int int java.lang.String
StackMap stack: jdk.jfr.ValueDescriptor int
8: putfield jdk.jfr.ValueDescriptor.isArray:Z
9: aload 0
iload 5
putfield jdk.jfr.ValueDescriptor.constantPool:Z
10: aload 0
new jdk.jfr.internal.AnnotationConstruct
dup
aload 3
invokespecial jdk.jfr.internal.AnnotationConstruct.<init>:(Ljava/util/List;)V
putfield jdk.jfr.ValueDescriptor.annotationConstruct:Ljdk/jfr/internal/AnnotationConstruct;
11: aload 0
aload 6
putfield jdk.jfr.ValueDescriptor.javaFieldName:Ljava/lang/String;
12: 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 13 0 this Ljdk/jfr/ValueDescriptor;
0 13 1 type Ljdk/jfr/internal/Type;
0 13 2 name Ljava/lang/String;
0 13 3 annotations Ljava/util/List<Ljdk/jfr/AnnotationElement;>;
0 13 4 dimension I
0 13 5 constantPool Z
0 13 6 fieldName Ljava/lang/String;
Signature: (Ljdk/jfr/internal/Type;Ljava/lang/String;Ljava/util/List<Ljdk/jfr/AnnotationElement;>;IZLjava/lang/String;)V
MethodParameters:
Name Flags
type
name
annotations
dimension
constantPool
fieldName
public void <init>(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)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
aload 2
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
invokespecial jdk.jfr.ValueDescriptor.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/util/List;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/ValueDescriptor;
0 2 1 type Ljava/lang/Class<*>;
0 2 2 name Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)V
MethodParameters:
Name Flags
type
name
public void <init>(java.lang.Class<?>, java.lang.String, java.util.List<jdk.jfr.AnnotationElement>);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
new java.util.ArrayList
dup
aload 3
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
iconst_0
invokespecial jdk.jfr.ValueDescriptor.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/util/List;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/ValueDescriptor;
0 2 1 type Ljava/lang/Class<*>;
0 2 2 name Ljava/lang/String;
0 2 3 annotations Ljava/util/List<Ljdk/jfr/AnnotationElement;>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/util/List<Ljdk/jfr/AnnotationElement;>;)V
MethodParameters:
Name Flags
type
name
annotations
void <init>(java.lang.Class<?>, java.lang.String, java.util.List<jdk.jfr.AnnotationElement>, );
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/util/List;Z)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: invokestatic jdk.jfr.internal.Utils.checkRegisterPermission:()V
3: iload 4
ifne 6
4: aload 1
invokevirtual java.lang.Class.isArray:()Z
ifeq 6
5: new java.lang.IllegalArgumentException
dup
ldc "Array types are not allowed"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: jdk.jfr.ValueDescriptor java.lang.Class java.lang.String java.util.List int
StackMap stack:
aload 0
aload 2
ldc "Name of value descriptor can't be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
putfield jdk.jfr.ValueDescriptor.name:Ljava/lang/String;
7: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic jdk.jfr.internal.Utils.getValidType:(Ljava/lang/Class;Ljava/lang/String;)Ljdk/jfr/internal/Type;
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
putfield jdk.jfr.ValueDescriptor.type:Ljdk/jfr/internal/Type;
8: aload 0
new jdk.jfr.internal.AnnotationConstruct
dup
aload 3
invokespecial jdk.jfr.internal.AnnotationConstruct.<init>:(Ljava/util/List;)V
putfield jdk.jfr.ValueDescriptor.annotationConstruct:Ljdk/jfr/internal/AnnotationConstruct;
9: aload 0
aload 2
putfield jdk.jfr.ValueDescriptor.javaFieldName:Ljava/lang/String;
10: aload 0
aload 1
invokevirtual java.lang.Class.isArray:()Z
putfield jdk.jfr.ValueDescriptor.isArray:Z
11: aload 0
aload 1
ldc Ljava/lang/Class;
if_acmpeq 12
aload 1
ldc Ljava/lang/Thread;
if_acmpeq 12
iconst_0
goto 13
StackMap locals:
StackMap stack: jdk.jfr.ValueDescriptor
12: iconst_1
StackMap locals: jdk.jfr.ValueDescriptor java.lang.Class java.lang.String java.util.List int
StackMap stack: jdk.jfr.ValueDescriptor int
13: putfield jdk.jfr.ValueDescriptor.constantPool:Z
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/jfr/ValueDescriptor;
0 15 1 type Ljava/lang/Class<*>;
0 15 2 name Ljava/lang/String;
0 15 3 annotations Ljava/util/List<Ljdk/jfr/AnnotationElement;>;
0 15 4 allowArray Z
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/util/List<Ljdk/jfr/AnnotationElement;>;Z)V
MethodParameters:
Name Flags
type
name
annotations
allowArray
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.ValueDescriptor.annotationConstruct:Ljdk/jfr/internal/AnnotationConstruct;
invokevirtual jdk.jfr.internal.AnnotationConstruct.getLabel:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/ValueDescriptor;
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.ValueDescriptor.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/ValueDescriptor;
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.ValueDescriptor.annotationConstruct:Ljdk/jfr/internal/AnnotationConstruct;
invokevirtual jdk.jfr.internal.AnnotationConstruct.getDescription:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/ValueDescriptor;
public java.lang.String getContentType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.ValueDescriptor.getAnnotationElements:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 7
StackMap locals: jdk.jfr.ValueDescriptor top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.AnnotationElement
astore 1
start local 1 2: aload 1
invokevirtual jdk.jfr.AnnotationElement.getAnnotationElements:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: jdk.jfr.ValueDescriptor jdk.jfr.AnnotationElement java.util.Iterator top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.AnnotationElement
astore 3
start local 3 4: aload 3
invokevirtual jdk.jfr.AnnotationElement.getTypeName:()Ljava/lang/String;
ldc Ljdk/jfr/ContentType;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 1
invokevirtual jdk.jfr.AnnotationElement.getTypeName:()Ljava/lang/String;
areturn
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 1 7: StackMap locals: jdk.jfr.ValueDescriptor top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jfr/ValueDescriptor;
2 7 1 anno Ljdk/jfr/AnnotationElement;
4 6 3 meta Ljdk/jfr/AnnotationElement;
public java.lang.String getTypeName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.ValueDescriptor.type:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.isSimpleType:()Z
ifeq 2
1: aload 0
getfield jdk.jfr.ValueDescriptor.type:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.getFields:()Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.jfr.ValueDescriptor
invokevirtual jdk.jfr.ValueDescriptor.getTypeName:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.ValueDescriptor.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 3 0 this Ljdk/jfr/ValueDescriptor;
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.ValueDescriptor.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/ValueDescriptor;
public boolean isArray();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.ValueDescriptor.isArray:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/ValueDescriptor;
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.ValueDescriptor.annotationConstruct:Ljdk/jfr/internal/AnnotationConstruct;
aload 1
invokevirtual jdk.jfr.internal.AnnotationConstruct.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/ValueDescriptor;
0 2 1 annotationType Ljava/lang/Class<TA;>;
Signature: <A::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TA;>;)TA;
MethodParameters:
Name Flags
annotationType
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.ValueDescriptor.annotationConstruct:Ljdk/jfr/internal/AnnotationConstruct;
invokevirtual jdk.jfr.internal.AnnotationConstruct.getUnmodifiableAnnotationElements:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/ValueDescriptor;
Signature: ()Ljava/util/List<Ljdk/jfr/AnnotationElement;>;
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.ValueDescriptor.type:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.isSimpleType:()Z
ifeq 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.ValueDescriptor.type:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.getFields:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/ValueDescriptor;
Signature: ()Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;
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.ValueDescriptor.type:Ljdk/jfr/internal/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/ValueDescriptor;
void setAnnotations(java.util.List<jdk.jfr.AnnotationElement>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.ValueDescriptor.annotationConstruct:Ljdk/jfr/internal/AnnotationConstruct;
aload 1
invokevirtual jdk.jfr.internal.AnnotationConstruct.setAnnotationElements:(Ljava/util/List;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/ValueDescriptor;
0 2 1 anno Ljava/util/List<Ljdk/jfr/AnnotationElement;>;
Signature: (Ljava/util/List<Ljdk/jfr/AnnotationElement;>;)V
MethodParameters:
Name Flags
anno
boolean isConstantPool();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.ValueDescriptor.constantPool:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/ValueDescriptor;
java.lang.String getJavaFieldName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.ValueDescriptor.javaFieldName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/ValueDescriptor;
boolean isUnsigned();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.ValueDescriptor.annotationConstruct:Ljdk/jfr/internal/AnnotationConstruct;
invokevirtual jdk.jfr.internal.AnnotationConstruct.hasUnsigned:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/ValueDescriptor;
}
SourceFile: "ValueDescriptor.java"