final class sun.lwawt.macosx.NSEvent
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.macosx.NSEvent
super_class: java.lang.Object
{
static final int SCROLL_PHASE_UNSUPPORTED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int SCROLL_PHASE_BEGAN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int SCROLL_PHASE_CONTINUED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final int SCROLL_PHASE_MOMENTUM_BEGAN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int SCROLL_PHASE_ENDED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 5
private int type;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int modifierFlags;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int clickCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int buttonNumber;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int x;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int y;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private double scrollDeltaY;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double scrollDeltaX;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private int scrollPhase;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int absX;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int absY;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private short keyCode;
descriptor: S
flags: (0x0002) ACC_PRIVATE
private java.lang.String characters;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String charactersIgnoringModifiers;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
void <init>(int, int, short, java.lang.String, java.lang.String);
descriptor: (IISLjava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield sun.lwawt.macosx.NSEvent.type:I
2: aload 0
iload 2
putfield sun.lwawt.macosx.NSEvent.modifierFlags:I
3: aload 0
iload 3
putfield sun.lwawt.macosx.NSEvent.keyCode:S
4: aload 0
aload 4
putfield sun.lwawt.macosx.NSEvent.characters:Ljava/lang/String;
5: aload 0
aload 5
putfield sun.lwawt.macosx.NSEvent.charactersIgnoringModifiers:Ljava/lang/String;
6: 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 7 0 this Lsun/lwawt/macosx/NSEvent;
0 7 1 type I
0 7 2 modifierFlags I
0 7 3 keyCode S
0 7 4 characters Ljava/lang/String;
0 7 5 charactersIgnoringModifiers Ljava/lang/String;
MethodParameters:
Name Flags
type
modifierFlags
keyCode
characters
charactersIgnoringModifiers
void <init>(int, int, int, int, int, int, int, int, double, double, int);
descriptor: (IIIIIIIIDDI)V
flags: (0x0000)
Code:
stack=3, locals=14, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 11 start local 13 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield sun.lwawt.macosx.NSEvent.type:I
2: aload 0
iload 2
putfield sun.lwawt.macosx.NSEvent.modifierFlags:I
3: aload 0
iload 3
putfield sun.lwawt.macosx.NSEvent.clickCount:I
4: aload 0
iload 4
putfield sun.lwawt.macosx.NSEvent.buttonNumber:I
5: aload 0
iload 5
putfield sun.lwawt.macosx.NSEvent.x:I
6: aload 0
iload 6
putfield sun.lwawt.macosx.NSEvent.y:I
7: aload 0
iload 7
putfield sun.lwawt.macosx.NSEvent.absX:I
8: aload 0
iload 8
putfield sun.lwawt.macosx.NSEvent.absY:I
9: aload 0
dload 9
putfield sun.lwawt.macosx.NSEvent.scrollDeltaY:D
10: aload 0
dload 11
putfield sun.lwawt.macosx.NSEvent.scrollDeltaX:D
11: aload 0
iload 13
putfield sun.lwawt.macosx.NSEvent.scrollPhase:I
12: return
end local 13 end local 11 end local 9 end local 8 end local 7 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 Lsun/lwawt/macosx/NSEvent;
0 13 1 type I
0 13 2 modifierFlags I
0 13 3 clickCount I
0 13 4 buttonNumber I
0 13 5 x I
0 13 6 y I
0 13 7 absX I
0 13 8 absY I
0 13 9 scrollDeltaY D
0 13 11 scrollDeltaX D
0 13 13 scrollPhase I
MethodParameters:
Name Flags
type
modifierFlags
clickCount
buttonNumber
x
y
absX
absY
scrollDeltaY
scrollDeltaX
scrollPhase
int getType();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.type:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
int getModifierFlags();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.modifierFlags:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
int getClickCount();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.clickCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
int getButtonNumber();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.buttonNumber:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
int getX();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.x:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
int getY();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.y:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
double getScrollDeltaY();
descriptor: ()D
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.scrollDeltaY:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
double getScrollDeltaX();
descriptor: ()D
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.scrollDeltaX:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
int getScrollPhase();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.scrollPhase:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
int getAbsX();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.absX:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
int getAbsY();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.absY:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
short getKeyCode();
descriptor: ()S
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.keyCode:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
java.lang.String getCharactersIgnoringModifiers();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.charactersIgnoringModifiers:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
java.lang.String getCharacters();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.NSEvent.characters:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/NSEvent;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "NSEvent["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.lwawt.macosx.NSEvent.getType:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " ,"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.lwawt.macosx.NSEvent.getModifierFlags:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " ,"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
invokevirtual sun.lwawt.macosx.NSEvent.getClickCount:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " ,"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.lwawt.macosx.NSEvent.getButtonNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " ,"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.lwawt.macosx.NSEvent.getX:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " ,"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 0
invokevirtual sun.lwawt.macosx.NSEvent.getY:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " ,"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.lwawt.macosx.NSEvent.getAbsX:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " ,"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.lwawt.macosx.NSEvent.getAbsY:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " ,"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.lwawt.macosx.NSEvent.getKeyCode:()S
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " ,"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 0
invokevirtual sun.lwawt.macosx.NSEvent.getCharacters:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ,"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.lwawt.macosx.NSEvent.getCharactersIgnoringModifiers:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/macosx/NSEvent;
static int nsToJavaButton(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
iconst_1
iadd
istore 1
start local 1 1: iload 0
tableswitch { // 0 - 2
0: 2
1: 4
2: 6
default: 7
}
2: StackMap locals: int
StackMap stack:
iconst_1
istore 1
3: goto 7
4: StackMap locals:
StackMap stack:
iconst_3
istore 1
5: goto 7
6: StackMap locals:
StackMap stack:
iconst_2
istore 1
7: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 buttonNumber I
1 8 1 jbuttonNumber I
MethodParameters:
Name Flags
buttonNumber
static int npToJavaEventType(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iload 0
tableswitch { // 2 - 9
2: 2
3: 4
4: 6
5: 8
6: 10
7: 12
8: 14
9: 16
default: 17
}
2: StackMap locals: int
StackMap stack:
sipush 501
istore 1
3: goto 17
4: StackMap locals:
StackMap stack:
sipush 502
istore 1
5: goto 17
6: StackMap locals:
StackMap stack:
sipush 503
istore 1
7: goto 17
8: StackMap locals:
StackMap stack:
sipush 504
istore 1
9: goto 17
10: StackMap locals:
StackMap stack:
sipush 505
istore 1
11: goto 17
12: StackMap locals:
StackMap stack:
sipush 506
istore 1
13: goto 17
14: StackMap locals:
StackMap stack:
sipush 401
istore 1
15: goto 17
16: StackMap locals:
StackMap stack:
sipush 402
istore 1
17: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 npEventType I
1 18 1 jeventType I
MethodParameters:
Name Flags
npEventType
static int nsToJavaEventType(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iload 0
tableswitch { // 1 - 27
1: 2
2: 4
3: 2
4: 4
5: 6
6: 8
7: 8
8: 10
9: 12
10: 16
11: 18
12: 19
13: 19
14: 19
15: 19
16: 19
17: 19
18: 19
19: 19
20: 19
21: 19
22: 14
23: 19
24: 19
25: 2
26: 4
27: 8
default: 19
}
2: StackMap locals: int
StackMap stack:
sipush 501
istore 1
3: goto 19
4: StackMap locals:
StackMap stack:
sipush 502
istore 1
5: goto 19
6: StackMap locals:
StackMap stack:
sipush 503
istore 1
7: goto 19
8: StackMap locals:
StackMap stack:
sipush 506
istore 1
9: goto 19
10: StackMap locals:
StackMap stack:
sipush 504
istore 1
11: goto 19
12: StackMap locals:
StackMap stack:
sipush 505
istore 1
13: goto 19
14: StackMap locals:
StackMap stack:
sipush 507
istore 1
15: goto 19
16: StackMap locals:
StackMap stack:
sipush 401
istore 1
17: goto 19
18: StackMap locals:
StackMap stack:
sipush 402
istore 1
19: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 nsEventType I
1 20 1 jeventType I
MethodParameters:
Name Flags
nsEventType
static native int nsToJavaMouseModifiers(int, int);
descriptor: (II)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
buttonNumber
modifierFlags
static native int nsToJavaKeyModifiers(int);
descriptor: (I)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
modifierFlags
static native boolean nsToJavaKeyInfo(int[], int[]);
descriptor: ([I[I)Z
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
in
out
static native void nsKeyModifiersToJavaKeyInfo(int[], int[]);
descriptor: ([I[I)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
in
out
static native char nsToJavaChar(char, int);
descriptor: (CI)C
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
nsChar
modifierFlags
static boolean (int);
descriptor: (I)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iload 0
sipush 4096
iand
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: iload 0
sipush 1024
iand
ifeq 4
iconst_1
goto 5
StackMap locals: int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 2
start local 2 6: iload 0
sipush 128
iand
ifeq 7
iconst_1
goto 8
StackMap locals: int
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 3
start local 3 9: iload 1
ifne 11
iload 3
ifeq 10
iload 2
ifne 11
StackMap locals: int
StackMap stack:
10: iconst_0
ireturn
StackMap locals:
StackMap stack:
11: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 jmodifiers I
3 12 1 isRightButtonDown Z
6 12 2 isLeftButtonDown Z
9 12 3 isControlDown Z
MethodParameters:
Name Flags
jmodifiers
}
SourceFile: "NSEvent.java"