class sun.lwawt.macosx.CPlatformComponent extends sun.lwawt.macosx.CFRetainedResource implements sun.lwawt.PlatformComponent
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.lwawt.macosx.CPlatformComponent
super_class: sun.lwawt.macosx.CFRetainedResource
{
private volatile sun.lwawt.PlatformWindow platformWindow;
descriptor: Lsun/lwawt/PlatformWindow;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
lconst_0
iconst_1
invokespecial sun.lwawt.macosx.CFRetainedResource.<init>:(JZ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CPlatformComponent;
public long getPointer();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CPlatformComponent.ptr:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPlatformComponent;
public void initialize(sun.lwawt.PlatformWindow);
descriptor: (Lsun/lwawt/PlatformWindow;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.lwawt.macosx.CPlatformComponent.platformWindow:Lsun/lwawt/PlatformWindow;
1: aload 0
aload 0
aload 1
invokeinterface sun.lwawt.PlatformWindow.getLayerPtr:()J
invokevirtual sun.lwawt.macosx.CPlatformComponent.nativeCreateComponent:(J)J
invokevirtual sun.lwawt.macosx.CPlatformComponent.setPtr:(J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CPlatformComponent;
0 3 1 platformWindow Lsun/lwawt/PlatformWindow;
MethodParameters:
Name Flags
platformWindow final
public void setBounds(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield sun.lwawt.macosx.CPlatformComponent.platformWindow:Lsun/lwawt/PlatformWindow;
invokeinterface sun.lwawt.PlatformWindow.getPeer:()Lsun/lwawt/LWWindowPeer;
invokevirtual sun.lwawt.LWWindowPeer.getInsets:()Ljava/awt/Insets;
astore 5
start local 5 1: aload 0
aload 0
iload 1
aload 5
iload 2
iload 3
iload 4
invokedynamic run(Lsun/lwawt/macosx/CPlatformComponent;ILjava/awt/Insets;III)Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(J)V
sun/lwawt/macosx/CPlatformComponent.lambda$0(ILjava/awt/Insets;IIIJ)V (7)
(J)V
invokevirtual sun.lwawt.macosx.CPlatformComponent.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
2: 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 3 0 this Lsun/lwawt/macosx/CPlatformComponent;
0 3 1 x I
0 3 2 y I
0 3 3 w I
0 3 4 h I
1 3 5 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
x final
y final
w final
h final
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.lwawt.macosx.CFRetainedResource.dispose:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CPlatformComponent;
private native long nativeCreateComponent(long);
descriptor: (J)J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
windowLayer
private native void nativeSetBounds(long, int, int, int, int);
descriptor: (JIIII)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
ptr
x
y
w
h
private void lambda$0(int, java.awt.Insets, int, int, int, long);
descriptor: (ILjava/awt/Insets;IIIJ)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=7, locals=8, args_size=7
start local 0 start local 6 0: aload 0
lload 6
iload 1
aload 2
getfield java.awt.Insets.left:I
isub
iload 3
aload 2
getfield java.awt.Insets.top:I
isub
iload 4
iload 5
invokevirtual sun.lwawt.macosx.CPlatformComponent.nativeSetBounds:(JIIII)V
return
end local 6 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPlatformComponent;
0 1 6 ptr J
}
SourceFile: "CPlatformComponent.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract CFNativeAction = sun.lwawt.macosx.CFRetainedResource$CFNativeAction of sun.lwawt.macosx.CFRetainedResource