class java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly extends java.lang.invoke.VarHandle
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly
super_class: java.lang.invoke.VarHandle
{
final long fieldOffset;
descriptor: J
flags: (0x0010) ACC_FINAL
final java.lang.Class<?> receiverType;
descriptor: Ljava/lang/Class;
flags: (0x0010) ACC_FINAL
Signature: Ljava/lang/Class<*>;
static final java.lang.invoke.VarForm FORM;
descriptor: Ljava/lang/invoke/VarForm;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new java.lang.invoke.VarForm
dup
ldc Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
ldc Ljava/lang/Object;
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokespecial java.lang.invoke.VarForm.<init>:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.FORM:Ljava/lang/invoke/VarForm;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;J)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
lload 2
getstatic java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.FORM:Ljava/lang/invoke/VarForm;
iconst_0
invokespecial java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.<init>:(Ljava/lang/Class;JLjava/lang/invoke/VarForm;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
0 2 1 receiverType Ljava/lang/Class<*>;
0 2 2 fieldOffset J
Signature: (Ljava/lang/Class<*>;J)V
MethodParameters:
Name Flags
receiverType
fieldOffset
protected void <init>(java.lang.Class<?>, long, java.lang.invoke.VarForm, );
descriptor: (Ljava/lang/Class;JLjava/lang/invoke/VarForm;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 5 0: aload 0
aload 4
iload 5
invokespecial java.lang.invoke.VarHandle.<init>:(Ljava/lang/invoke/VarForm;Z)V
1: aload 0
lload 2
putfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.fieldOffset:J
2: aload 0
aload 1
putfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.receiverType:Ljava/lang/Class;
3: return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
0 4 1 receiverType Ljava/lang/Class<*>;
0 4 2 fieldOffset J
0 4 4 form Ljava/lang/invoke/VarForm;
0 4 5 exact Z
Signature: (Ljava/lang/Class<*>;JLjava/lang/invoke/VarForm;Z)V
MethodParameters:
Name Flags
receiverType
fieldOffset
form
exact
public java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly withInvokeExactBehavior();
descriptor: ()Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.hasInvokeExactBehavior:()Z
ifeq 2
1: aload 0
goto 3
2: StackMap locals:
StackMap stack:
new java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly
dup
aload 0
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.receiverType:Ljava/lang/Class;
aload 0
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.fieldOffset:J
aload 0
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.vform:Ljava/lang/invoke/VarForm;
iconst_1
invokespecial java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.<init>:(Ljava/lang/Class;JLjava/lang/invoke/VarForm;Z)V
3: StackMap locals:
StackMap stack: java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
public java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly withInvokeBehavior();
descriptor: ()Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.hasInvokeExactBehavior:()Z
ifne 2
1: aload 0
goto 3
2: StackMap locals:
StackMap stack:
new java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly
dup
aload 0
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.receiverType:Ljava/lang/Class;
aload 0
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.fieldOffset:J
aload 0
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.vform:Ljava/lang/invoke/VarForm;
iconst_0
invokespecial java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.<init>:(Ljava/lang/Class;JLjava/lang/invoke/VarForm;Z)V
3: StackMap locals:
StackMap stack: java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
final java.lang.invoke.MethodType accessModeTypeUncached(java.lang.invoke.VarHandle$AccessType);
descriptor: (Ljava/lang/invoke/VarHandle$AccessType;)Ljava/lang/invoke/MethodType;
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.receiverType:Ljava/lang/Class;
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.invoke.VarHandle$AccessType.accessModeType:(Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
0 1 1 at Ljava/lang/invoke/VarHandle$AccessType;
MethodParameters:
Name Flags
at
public java.util.Optional<java.lang.invoke.VarHandle$VarHandleDesc> describeConstable();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.receiverType:Ljava/lang/Class;
invokevirtual java.lang.Class.describeConstable:()Ljava/util/Optional;
astore 1
start local 1 1: getstatic java.lang.Short.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Class.describeConstable:()Ljava/util/Optional;
astore 2
start local 2 2: aload 1
invokevirtual java.util.Optional.isPresent:()Z
ifeq 3
aload 2
invokevirtual java.util.Optional.isPresent:()Z
ifne 4
3: StackMap locals: java.util.Optional java.util.Optional
StackMap stack:
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.receiverType:Ljava/lang/Class;
aload 0
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.fieldOffset:J
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
5: invokestatic java.lang.invoke.VarHandles.getFieldFromReceiverAndOffset:(Ljava/lang/Class;JLjava/lang/Class;)Ljava/lang/reflect/Field;
6: invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
7: astore 3
start local 3 8: aload 1
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.constant.ClassDesc
aload 3
aload 2
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.constant.ClassDesc
invokestatic java.lang.invoke.VarHandle$VarHandleDesc.ofField:(Ljava/lang/constant/ClassDesc;Ljava/lang/String;Ljava/lang/constant/ClassDesc;)Ljava/lang/invoke/VarHandle$VarHandleDesc;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
1 9 1 receiverTypeRef Ljava/util/Optional<Ljava/lang/constant/ClassDesc;>;
2 9 2 fieldTypeRef Ljava/util/Optional<Ljava/lang/constant/ClassDesc;>;
8 9 3 name Ljava/lang/String;
Signature: ()Ljava/util/Optional<Ljava/lang/invoke/VarHandle$VarHandleDesc;>;
static short get(java.lang.invoke.VarHandle, java.lang.Object);
descriptor: (Ljava/lang/invoke/VarHandle;Ljava/lang/Object;)S
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
checkcast java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly
astore 2
start local 2 1: getstatic java.lang.invoke.MethodHandleStatics.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 2
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.receiverType:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
2: aload 2
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.fieldOffset:J
3: invokevirtual jdk.internal.misc.Unsafe.getShort:(Ljava/lang/Object;J)S
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ob Ljava/lang/invoke/VarHandle;
0 4 1 holder Ljava/lang/Object;
1 4 2 handle Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
RuntimeVisibleAnnotations:
jdk.internal.vm.annotation.ForceInline()
MethodParameters:
Name Flags
ob
holder
static short getVolatile(java.lang.invoke.VarHandle, java.lang.Object);
descriptor: (Ljava/lang/invoke/VarHandle;Ljava/lang/Object;)S
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
checkcast java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly
astore 2
start local 2 1: getstatic java.lang.invoke.MethodHandleStatics.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 2
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.receiverType:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
2: aload 2
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.fieldOffset:J
3: invokevirtual jdk.internal.misc.Unsafe.getShortVolatile:(Ljava/lang/Object;J)S
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ob Ljava/lang/invoke/VarHandle;
0 4 1 holder Ljava/lang/Object;
1 4 2 handle Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
RuntimeVisibleAnnotations:
jdk.internal.vm.annotation.ForceInline()
MethodParameters:
Name Flags
ob
holder
static short getOpaque(java.lang.invoke.VarHandle, java.lang.Object);
descriptor: (Ljava/lang/invoke/VarHandle;Ljava/lang/Object;)S
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
checkcast java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly
astore 2
start local 2 1: getstatic java.lang.invoke.MethodHandleStatics.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 2
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.receiverType:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
2: aload 2
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.fieldOffset:J
3: invokevirtual jdk.internal.misc.Unsafe.getShortOpaque:(Ljava/lang/Object;J)S
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ob Ljava/lang/invoke/VarHandle;
0 4 1 holder Ljava/lang/Object;
1 4 2 handle Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
RuntimeVisibleAnnotations:
jdk.internal.vm.annotation.ForceInline()
MethodParameters:
Name Flags
ob
holder
static short getAcquire(java.lang.invoke.VarHandle, java.lang.Object);
descriptor: (Ljava/lang/invoke/VarHandle;Ljava/lang/Object;)S
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
checkcast java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly
astore 2
start local 2 1: getstatic java.lang.invoke.MethodHandleStatics.UNSAFE:Ljdk/internal/misc/Unsafe;
aload 2
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.receiverType:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
2: aload 2
getfield java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.fieldOffset:J
3: invokevirtual jdk.internal.misc.Unsafe.getShortAcquire:(Ljava/lang/Object;J)S
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ob Ljava/lang/invoke/VarHandle;
0 4 1 holder Ljava/lang/Object;
1 4 2 handle Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
RuntimeVisibleAnnotations:
jdk.internal.vm.annotation.ForceInline()
MethodParameters:
Name Flags
ob
holder
public java.lang.invoke.VarHandle withInvokeExactBehavior();
descriptor: ()Ljava/lang/invoke/VarHandle;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.withInvokeExactBehavior:()Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.invoke.VarHandle withInvokeBehavior();
descriptor: ()Ljava/lang/invoke/VarHandle;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly.withInvokeBehavior:()Ljava/lang/invoke/VarHandleShorts$FieldInstanceReadOnly;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "VarHandleShorts.java"
NestHost: java.lang.invoke.VarHandleShorts
InnerClasses:
final AccessType = java.lang.invoke.VarHandle$AccessType of java.lang.invoke.VarHandle
public final VarHandleDesc = java.lang.invoke.VarHandle$VarHandleDesc of java.lang.invoke.VarHandle
FieldInstanceReadOnly = java.lang.invoke.VarHandleShorts$FieldInstanceReadOnly of java.lang.invoke.VarHandleShorts