public abstract class sun.lwawt.LWCursorManager
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.lwawt.LWCursorManager
super_class: java.lang.Object
{
private final java.util.concurrent.atomic.AtomicBoolean updatePending;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
putfield sun.lwawt.LWCursorManager.updatePending:Ljava/util/concurrent/atomic/AtomicBoolean;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/LWCursorManager;
public final void updateCursor();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.LWCursorManager.updatePending:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
1: aload 0
invokevirtual sun.lwawt.LWCursorManager.updateCursorImpl:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/LWCursorManager;
public final void updateCursorLater(sun.lwawt.LWWindowPeer);
descriptor: (Lsun/lwawt/LWWindowPeer;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.lwawt.LWCursorManager.updatePending:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 3
1: new sun.lwawt.LWCursorManager$1
dup
aload 0
invokespecial sun.lwawt.LWCursorManager$1.<init>:(Lsun/lwawt/LWCursorManager;)V
astore 2
start local 2 2: aload 1
invokevirtual sun.lwawt.LWWindowPeer.getTarget:()Ljava/awt/Component;
aload 2
invokestatic sun.awt.SunToolkit.executeOnEventHandlerThread:(Ljava/lang/Object;Ljava/lang/Runnable;)V
end local 2 3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/LWCursorManager;
0 4 1 window Lsun/lwawt/LWWindowPeer;
2 3 2 r Ljava/lang/Runnable;
MethodParameters:
Name Flags
window final
private void updateCursorImpl();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.LWCursorManager.getCursorPosition:()Ljava/awt/Point;
astore 1
start local 1 1: aload 1
invokestatic sun.lwawt.LWCursorManager.findComponent:(Ljava/awt/Point;)Ljava/awt/Component;
astore 2
start local 2 2: aload 2
invokestatic sun.lwawt.LWToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 3: aload 4
instanceof sun.lwawt.LWComponentPeer
ifeq 10
4: aload 4
checkcast sun.lwawt.LWComponentPeer
astore 5
start local 5 5: aload 5
invokevirtual sun.lwawt.LWComponentPeer.getLocationOnScreen:()Ljava/awt/Point;
astore 6
start local 6 6: aload 5
new java.awt.Point
dup
aload 1
getfield java.awt.Point.x:I
aload 6
getfield java.awt.Point.x:I
isub
7: aload 1
getfield java.awt.Point.y:I
aload 6
getfield java.awt.Point.y:I
isub
invokespecial java.awt.Point.<init>:(II)V
8: invokevirtual sun.lwawt.LWComponentPeer.getCursor:(Ljava/awt/Point;)Ljava/awt/Cursor;
astore 3
end local 6 end local 5 start local 3 9: goto 13
end local 3 10: StackMap locals: sun.lwawt.LWCursorManager java.awt.Point java.awt.Component top java.lang.Object
StackMap stack:
aload 2
ifnull 11
aload 2
invokevirtual java.awt.Component.getCursor:()Ljava/awt/Cursor;
goto 12
StackMap locals:
StackMap stack:
11: aconst_null
StackMap locals:
StackMap stack: java.awt.Cursor
12: astore 3
start local 3 13: StackMap locals: sun.lwawt.LWCursorManager java.awt.Point java.awt.Component java.awt.Cursor java.lang.Object
StackMap stack:
aload 0
aload 3
invokevirtual sun.lwawt.LWCursorManager.setCursor:(Ljava/awt/Cursor;)V
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 Lsun/lwawt/LWCursorManager;
1 15 1 cursorPos Ljava/awt/Point;
2 15 2 c Ljava/awt/Component;
9 10 3 cursor Ljava/awt/Cursor;
13 15 3 cursor Ljava/awt/Cursor;
3 15 4 peer Ljava/lang/Object;
5 9 5 lwpeer Lsun/lwawt/LWComponentPeer<**>;
6 9 6 p Ljava/awt/Point;
private static final java.awt.Component findComponent(java.awt.Point);
descriptor: (Ljava/awt/Point;)Ljava/awt/Component;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=1
start local 0 0: invokestatic sun.lwawt.LWWindowPeer.getPeerUnderCursor:()Lsun/lwawt/LWComponentPeer;
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 1
ifnull 15
aload 1
invokevirtual sun.lwawt.LWComponentPeer.getWindowPeerOrSelf:()Lsun/lwawt/LWWindowPeer;
invokevirtual sun.lwawt.LWWindowPeer.getBlocker:()Lsun/lwawt/LWWindowPeer;
ifnonnull 15
3: aload 1
invokevirtual sun.lwawt.LWComponentPeer.getTarget:()Ljava/awt/Component;
astore 2
4: aload 2
instanceof java.awt.Container
ifeq 14
5: aload 1
invokevirtual sun.lwawt.LWComponentPeer.getLocationOnScreen:()Ljava/awt/Point;
astore 3
start local 3 6: invokestatic sun.awt.AWTAccessor.getContainerAccessor:()Lsun/awt/AWTAccessor$ContainerAccessor;
7: aload 2
checkcast java.awt.Container
aload 0
getfield java.awt.Point.x:I
aload 3
getfield java.awt.Point.x:I
isub
aload 0
getfield java.awt.Point.y:I
aload 3
getfield java.awt.Point.y:I
isub
iconst_0
8: invokeinterface sun.awt.AWTAccessor$ContainerAccessor.findComponentAt:(Ljava/awt/Container;IIZ)Ljava/awt/Component;
astore 2
end local 3 9: goto 14
10: StackMap locals: sun.lwawt.LWComponentPeer java.awt.Component
StackMap stack:
invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
aload 2
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
astore 3
start local 3 11: aload 2
invokevirtual java.awt.Component.isVisible:()Z
ifeq 13
aload 2
invokevirtual java.awt.Component.isEnabled:()Z
ifeq 13
aload 3
ifnull 13
12: goto 15
13: StackMap locals: java.lang.Object
StackMap stack:
aload 2
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 2
end local 3 14: StackMap locals:
StackMap stack:
aload 2
ifnonnull 10
15: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 cursorPos Ljava/awt/Point;
1 16 1 peer Lsun/lwawt/LWComponentPeer<**>;
2 16 2 c Ljava/awt/Component;
6 9 3 p Ljava/awt/Point;
11 14 3 p Ljava/lang/Object;
MethodParameters:
Name Flags
cursorPos final
protected abstract java.awt.Point getCursorPosition();
descriptor: ()Ljava/awt/Point;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract void setCursor(java.awt.Cursor);
descriptor: (Ljava/awt/Cursor;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
cursor
}
SourceFile: "LWCursorManager.java"
NestMembers:
sun.lwawt.LWCursorManager$1
InnerClasses:
public abstract ComponentAccessor = sun.awt.AWTAccessor$ComponentAccessor of sun.awt.AWTAccessor
public abstract ContainerAccessor = sun.awt.AWTAccessor$ContainerAccessor of sun.awt.AWTAccessor
sun.lwawt.LWCursorManager$1