public class sun.lwawt.macosx.CPlatformView extends sun.lwawt.macosx.CFRetainedResource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.lwawt.macosx.CPlatformView
super_class: sun.lwawt.macosx.CFRetainedResource
{
private sun.lwawt.LWWindowPeer peer;
descriptor: Lsun/lwawt/LWWindowPeer;
flags: (0x0002) ACC_PRIVATE
private sun.java2d.SurfaceData surfaceData;
descriptor: Lsun/java2d/SurfaceData;
flags: (0x0002) ACC_PRIVATE
private sun.java2d.opengl.CGLLayer windowLayer;
descriptor: Lsun/java2d/opengl/CGLLayer;
flags: (0x0002) ACC_PRIVATE
private sun.lwawt.macosx.CPlatformResponder responder;
descriptor: Lsun/lwawt/macosx/CPlatformResponder;
flags: (0x0002) ACC_PRIVATE
private native long nativeCreateView(int, int, int, int, long);
descriptor: (IIIIJ)J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
x
y
width
height
windowLayerPtr
private static native void nativeSetAutoResizable(long, boolean);
descriptor: (JZ)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
awtView
toResize
private static native int nativeGetNSViewDisplayID(long);
descriptor: (J)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
awtView
private static native java.awt.geom.Rectangle2D nativeGetLocationOnScreen(long);
descriptor: (J)Ljava/awt/geom/Rectangle2D;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
awtView
private static native boolean nativeIsViewUnderMouse(long);
descriptor: (J)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/CPlatformView;
public void initialize(sun.lwawt.LWWindowPeer, sun.lwawt.macosx.CPlatformResponder);
descriptor: (Lsun/lwawt/LWWindowPeer;Lsun/lwawt/macosx/CPlatformResponder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual sun.lwawt.macosx.CPlatformView.initializeBase:(Lsun/lwawt/LWWindowPeer;Lsun/lwawt/macosx/CPlatformResponder;)V
1: invokestatic sun.lwawt.macosx.LWCToolkit.getSunAwtDisableCALayers:()Z
ifne 3
2: aload 0
aload 0
invokevirtual sun.lwawt.macosx.CPlatformView.createCGLayer:()Lsun/java2d/opengl/CGLLayer;
putfield sun.lwawt.macosx.CPlatformView.windowLayer:Lsun/java2d/opengl/CGLLayer;
3: StackMap locals:
StackMap stack:
aload 0
aload 0
iconst_0
iconst_0
iconst_0
iconst_0
aload 0
invokevirtual sun.lwawt.macosx.CPlatformView.getWindowLayerPtr:()J
invokevirtual sun.lwawt.macosx.CPlatformView.nativeCreateView:(IIIIJ)J
invokevirtual sun.lwawt.macosx.CPlatformView.setPtr:(J)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/macosx/CPlatformView;
0 5 1 peer Lsun/lwawt/LWWindowPeer;
0 5 2 responder Lsun/lwawt/macosx/CPlatformResponder;
MethodParameters:
Name Flags
peer
responder
public sun.java2d.opengl.CGLLayer createCGLayer();
descriptor: ()Lsun/java2d/opengl/CGLLayer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.java2d.opengl.CGLLayer
dup
aload 0
getfield sun.lwawt.macosx.CPlatformView.peer:Lsun/lwawt/LWWindowPeer;
invokespecial sun.java2d.opengl.CGLLayer.<init>:(Lsun/lwawt/LWWindowPeer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPlatformView;
protected void initializeBase(sun.lwawt.LWWindowPeer, sun.lwawt.macosx.CPlatformResponder);
descriptor: (Lsun/lwawt/LWWindowPeer;Lsun/lwawt/macosx/CPlatformResponder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield sun.lwawt.macosx.CPlatformView.peer:Lsun/lwawt/LWWindowPeer;
1: aload 0
aload 2
putfield sun.lwawt.macosx.CPlatformView.responder:Lsun/lwawt/macosx/CPlatformResponder;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CPlatformView;
0 3 1 peer Lsun/lwawt/LWWindowPeer;
0 3 2 responder Lsun/lwawt/macosx/CPlatformResponder;
MethodParameters:
Name Flags
peer
responder
public long getAWTView();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CPlatformView.ptr:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPlatformView;
public boolean isOpaque();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CPlatformView.peer:Lsun/lwawt/LWWindowPeer;
invokevirtual sun.lwawt.LWWindowPeer.isTranslucent:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CPlatformView;
public void setBounds(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
iload 4
invokedynamic run(IIII)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/CPlatformView.lambda$0(IIIIJ)V (6)
(J)V
invokevirtual sun.lwawt.macosx.CPlatformView.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CPlatformView;
0 2 1 x I
0 2 2 y I
0 2 3 width I
0 2 4 height I
MethodParameters:
Name Flags
x
y
width
height
public java.awt.Rectangle getBounds();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CPlatformView.peer:Lsun/lwawt/LWWindowPeer;
invokevirtual sun.lwawt.LWWindowPeer.getBounds:()Ljava/awt/Rectangle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPlatformView;
public java.lang.Object getDestination();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CPlatformView.peer:Lsun/lwawt/LWWindowPeer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPlatformView;
public void setToolTip(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic run(Ljava/lang/String;)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/CPlatformView.lambda$1(Ljava/lang/String;J)V (6)
(J)V
invokevirtual sun.lwawt.macosx.CPlatformView.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CPlatformView;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public sun.java2d.SurfaceData replaceSurfaceData();
descriptor: ()Lsun/java2d/SurfaceData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic sun.lwawt.macosx.LWCToolkit.getSunAwtDisableCALayers:()Z
ifne 3
1: aload 0
aload 0
getfield sun.lwawt.macosx.CPlatformView.windowLayer:Lsun/java2d/opengl/CGLLayer;
invokevirtual sun.java2d.opengl.CGLLayer.replaceSurfaceData:()Lsun/java2d/SurfaceData;
putfield sun.lwawt.macosx.CPlatformView.surfaceData:Lsun/java2d/SurfaceData;
2: goto 8
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CPlatformView.surfaceData:Lsun/java2d/SurfaceData;
ifnonnull 7
4: aload 0
invokevirtual sun.lwawt.macosx.CPlatformView.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
checkcast sun.awt.CGraphicsConfig
astore 1
start local 1 5: aload 0
aload 1
aload 0
invokevirtual sun.awt.CGraphicsConfig.createSurfaceData:(Lsun/lwawt/macosx/CPlatformView;)Lsun/java2d/SurfaceData;
putfield sun.lwawt.macosx.CPlatformView.surfaceData:Lsun/java2d/SurfaceData;
end local 1 6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.macosx.CPlatformView.validateSurface:()V
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CPlatformView.surfaceData:Lsun/java2d/SurfaceData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/lwawt/macosx/CPlatformView;
5 6 1 graphicsConfig Lsun/awt/CGraphicsConfig;
private void validateSurface();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CPlatformView.surfaceData:Lsun/java2d/SurfaceData;
ifnull 2
1: aload 0
getfield sun.lwawt.macosx.CPlatformView.surfaceData:Lsun/java2d/SurfaceData;
checkcast sun.java2d.opengl.CGLSurfaceData
invokevirtual sun.java2d.opengl.CGLSurfaceData.validate:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CPlatformView;
public java.awt.GraphicsConfiguration getGraphicsConfiguration();
descriptor: ()Ljava/awt/GraphicsConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CPlatformView.peer:Lsun/lwawt/LWWindowPeer;
invokevirtual sun.lwawt.LWWindowPeer.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPlatformView;
public sun.java2d.SurfaceData getSurfaceData();
descriptor: ()Lsun/java2d/SurfaceData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CPlatformView.surfaceData:Lsun/java2d/SurfaceData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPlatformView;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.lwawt.macosx.LWCToolkit.getSunAwtDisableCALayers:()Z
ifne 2
1: aload 0
getfield sun.lwawt.macosx.CPlatformView.windowLayer:Lsun/java2d/opengl/CGLLayer;
invokevirtual sun.java2d.opengl.CGLLayer.dispose:()V
2: StackMap locals:
StackMap stack:
aload 0
invokespecial sun.lwawt.macosx.CFRetainedResource.dispose:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CPlatformView;
public long getWindowLayerPtr();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic sun.lwawt.macosx.LWCToolkit.getSunAwtDisableCALayers:()Z
ifne 2
1: aload 0
getfield sun.lwawt.macosx.CPlatformView.windowLayer:Lsun/java2d/opengl/CGLLayer;
invokevirtual sun.java2d.opengl.CGLLayer.getPointer:()J
lreturn
2: StackMap locals:
StackMap stack:
lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CPlatformView;
public void setAutoResizable(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokedynamic run(Z)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/CPlatformView.lambda$2(ZJ)V (6)
(J)V
invokevirtual sun.lwawt.macosx.CPlatformView.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CPlatformView;
0 2 1 toResize Z
MethodParameters:
Name Flags
toResize
public boolean isUnderMouse();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokedynamic run(Ljava/util/concurrent/atomic/AtomicBoolean;)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/CPlatformView.lambda$3(Ljava/util/concurrent/atomic/AtomicBoolean;J)V (6)
(J)V
invokevirtual sun.lwawt.macosx.CPlatformView.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
2: aload 1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CPlatformView;
1 3 1 ref Ljava/util/concurrent/atomic/AtomicBoolean;
public java.awt.GraphicsDevice getGraphicsDevice();
descriptor: ()Ljava/awt/GraphicsDevice;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: invokestatic java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
astore 1
start local 1 1: aload 1
checkcast sun.awt.CGraphicsEnvironment
astore 2
start local 2 2: new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
astore 3
start local 3 3: aload 0
aload 3
invokedynamic run(Ljava/util/concurrent/atomic/AtomicInteger;)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/CPlatformView.lambda$4(Ljava/util/concurrent/atomic/AtomicInteger;J)V (6)
(J)V
invokevirtual sun.lwawt.macosx.CPlatformView.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
4: aload 2
aload 3
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
invokevirtual sun.awt.CGraphicsEnvironment.getScreenDevice:(I)Ljava/awt/GraphicsDevice;
astore 4
start local 4 5: aload 4
ifnonnull 7
6: aload 1
invokevirtual java.awt.GraphicsEnvironment.getDefaultScreenDevice:()Ljava/awt/GraphicsDevice;
astore 4
7: StackMap locals: sun.lwawt.macosx.CPlatformView java.awt.GraphicsEnvironment sun.awt.CGraphicsEnvironment java.util.concurrent.atomic.AtomicInteger java.awt.GraphicsDevice
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/lwawt/macosx/CPlatformView;
1 8 1 ge Ljava/awt/GraphicsEnvironment;
2 8 2 cge Lsun/awt/CGraphicsEnvironment;
3 8 3 ref Ljava/util/concurrent/atomic/AtomicInteger;
5 8 4 gd Ljava/awt/GraphicsDevice;
public java.awt.Point getLocationOnScreen();
descriptor: ()Ljava/awt/Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokedynamic run(Ljava/util/concurrent/atomic/AtomicReference;)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/CPlatformView.lambda$5(Ljava/util/concurrent/atomic/AtomicReference;J)V (6)
(J)V
invokevirtual sun.lwawt.macosx.CPlatformView.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
2: aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.awt.Rectangle
astore 2
start local 2 3: aload 2
ifnull 5
4: new java.awt.Point
dup
aload 2
getfield java.awt.Rectangle.x:I
aload 2
getfield java.awt.Rectangle.y:I
invokespecial java.awt.Point.<init>:(II)V
areturn
5: StackMap locals: java.util.concurrent.atomic.AtomicReference java.awt.Rectangle
StackMap stack:
new java.awt.Point
dup
iconst_0
iconst_0
invokespecial java.awt.Point.<init>:(II)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/lwawt/macosx/CPlatformView;
1 6 1 ref Ljava/util/concurrent/atomic/AtomicReference<Ljava/awt/Rectangle;>;
3 6 2 r Ljava/awt/Rectangle;
private void deliverResize(int, int, int, int);
descriptor: (IIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, 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.CPlatformView.peer:Lsun/lwawt/LWWindowPeer;
iload 1
iload 2
iload 3
iload 4
invokevirtual sun.lwawt.LWWindowPeer.notifyReshape:(IIII)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CPlatformView;
0 2 1 x I
0 2 2 y I
0 2 3 w I
0 2 4 h I
MethodParameters:
Name Flags
x
y
w
h
private void deliverMouseEvent(sun.lwawt.macosx.NSEvent);
descriptor: (Lsun/lwawt/macosx/NSEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getX:()I
istore 2
start local 2 1: aload 0
invokevirtual sun.lwawt.macosx.CPlatformView.getBounds:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getY:()I
isub
istore 3
start local 3 2: aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getAbsX:()I
istore 4
start local 4 3: aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getAbsY:()I
istore 5
start local 5 4: aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getType:()I
bipush 22
if_icmpne 10
5: aload 0
getfield sun.lwawt.macosx.CPlatformView.responder:Lsun/lwawt/macosx/CPlatformResponder;
iload 2
iload 3
iload 4
iload 5
aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getModifierFlags:()I
6: aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getScrollDeltaX:()D
aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getScrollDeltaY:()D
7: aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getScrollPhase:()I
8: invokevirtual sun.lwawt.macosx.CPlatformResponder.handleScrollEvent:(IIIIIDDI)V
9: goto 14
10: StackMap locals: sun.lwawt.macosx.CPlatformView sun.lwawt.macosx.NSEvent int int int int
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CPlatformView.responder:Lsun/lwawt/macosx/CPlatformResponder;
aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getType:()I
aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getModifierFlags:()I
aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getButtonNumber:()I
11: aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getClickCount:()I
iload 2
iload 3
12: iload 4
iload 5
13: invokevirtual sun.lwawt.macosx.CPlatformResponder.handleMouseEvent:(IIIIIIII)V
14: StackMap locals:
StackMap stack:
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 15 0 this Lsun/lwawt/macosx/CPlatformView;
0 15 1 event Lsun/lwawt/macosx/NSEvent;
1 15 2 x I
2 15 3 y I
3 15 4 absX I
4 15 5 absY I
MethodParameters:
Name Flags
event final
private void deliverKeyEvent(sun.lwawt.macosx.NSEvent);
descriptor: (Lsun/lwawt/macosx/NSEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.lwawt.macosx.CPlatformView.responder:Lsun/lwawt/macosx/CPlatformResponder;
aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getType:()I
aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getModifierFlags:()I
aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getCharacters:()Ljava/lang/String;
1: aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getCharactersIgnoringModifiers:()Ljava/lang/String;
aload 1
invokevirtual sun.lwawt.macosx.NSEvent.getKeyCode:()S
iconst_1
iconst_0
2: invokevirtual sun.lwawt.macosx.CPlatformResponder.handleKeyEvent:(IILjava/lang/String;Ljava/lang/String;SZZ)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CPlatformView;
0 4 1 event Lsun/lwawt/macosx/NSEvent;
MethodParameters:
Name Flags
event
private void deliverWindowDidExposeEvent();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CPlatformView.peer:Lsun/lwawt/LWWindowPeer;
aload 0
getfield sun.lwawt.macosx.CPlatformView.peer:Lsun/lwawt/LWWindowPeer;
invokevirtual sun.lwawt.LWWindowPeer.getSize:()Ljava/awt/Rectangle;
invokevirtual sun.lwawt.LWWindowPeer.notifyExpose:(Ljava/awt/Rectangle;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CPlatformView;
private static void lambda$0(int, int, int, int, long);
descriptor: (IIIIJ)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=6, args_size=5
start local 4 0: lload 4
iload 0
iload 1
iload 2
iload 3
invokestatic sun.lwawt.macosx.CWrapper$NSView.setFrame:(JIIII)V
return
end local 4 LocalVariableTable:
Start End Slot Name Signature
0 1 4 ptr J
private static void lambda$1(java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 1 0: lload 1
aload 0
invokestatic sun.lwawt.macosx.CWrapper$NSView.setToolTip:(JLjava/lang/String;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 ptr J
private static void lambda$2(boolean, long);
descriptor: (ZJ)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 1 0: lload 1
iload 0
invokestatic sun.lwawt.macosx.CPlatformView.nativeSetAutoResizable:(JZ)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 ptr J
private static void lambda$3(java.util.concurrent.atomic.AtomicBoolean, long);
descriptor: (Ljava/util/concurrent/atomic/AtomicBoolean;J)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 1 0: aload 0
lload 1
invokestatic sun.lwawt.macosx.CPlatformView.nativeIsViewUnderMouse:(J)Z
invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 ptr J
private static void lambda$4(java.util.concurrent.atomic.AtomicInteger, long);
descriptor: (Ljava/util/concurrent/atomic/AtomicInteger;J)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 1 0: aload 0
lload 1
invokestatic sun.lwawt.macosx.CPlatformView.nativeGetNSViewDisplayID:(J)I
invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 ptr J
private static void lambda$5(java.util.concurrent.atomic.AtomicReference, long);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;J)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 1 0: aload 0
lload 1
invokestatic sun.lwawt.macosx.CPlatformView.nativeGetLocationOnScreen:(J)Ljava/awt/geom/Rectangle2D;
invokevirtual java.awt.geom.Rectangle2D.getBounds:()Ljava/awt/Rectangle;
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 ptr J
}
SourceFile: "CPlatformView.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
final NSView = sun.lwawt.macosx.CWrapper$NSView of sun.lwawt.macosx.CWrapper