public final class javafx.scene.input.KeyCharacterCombination extends javafx.scene.input.KeyCombination
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javafx.scene.input.KeyCharacterCombination
super_class: javafx.scene.input.KeyCombination
{
private java.lang.String character;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public final java.lang.String getCharacter();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.input.KeyCharacterCombination.character:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/input/KeyCharacterCombination;
public void <init>(java.lang.String, javafx.scene.input.KeyCombination$ModifierValue, javafx.scene.input.KeyCombination$ModifierValue, javafx.scene.input.KeyCombination$ModifierValue, javafx.scene.input.KeyCombination$ModifierValue, javafx.scene.input.KeyCombination$ModifierValue);
descriptor: (Ljava/lang/String;Ljavafx/scene/input/KeyCombination$ModifierValue;Ljavafx/scene/input/KeyCombination$ModifierValue;Ljavafx/scene/input/KeyCombination$ModifierValue;Ljavafx/scene/input/KeyCombination$ModifierValue;Ljavafx/scene/input/KeyCombination$ModifierValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 2
aload 3
aload 4
aload 5
aload 6
invokespecial javafx.scene.input.KeyCombination.<init>:(Ljavafx/scene/input/KeyCombination$ModifierValue;Ljavafx/scene/input/KeyCombination$ModifierValue;Ljavafx/scene/input/KeyCombination$ModifierValue;Ljavafx/scene/input/KeyCombination$ModifierValue;Ljavafx/scene/input/KeyCombination$ModifierValue;)V
1: aload 0
ldc ""
putfield javafx.scene.input.KeyCharacterCombination.character:Ljava/lang/String;
2: aload 1
invokestatic javafx.scene.input.KeyCharacterCombination.validateKeyCharacter:(Ljava/lang/String;)V
3: aload 0
aload 1
putfield javafx.scene.input.KeyCharacterCombination.character:Ljava/lang/String;
4: return
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 5 0 this Ljavafx/scene/input/KeyCharacterCombination;
0 5 1 character Ljava/lang/String;
0 5 2 shift Ljavafx/scene/input/KeyCombination$ModifierValue;
0 5 3 control Ljavafx/scene/input/KeyCombination$ModifierValue;
0 5 4 alt Ljavafx/scene/input/KeyCombination$ModifierValue;
0 5 5 meta Ljavafx/scene/input/KeyCombination$ModifierValue;
0 5 6 shortcut Ljavafx/scene/input/KeyCombination$ModifierValue;
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "character")
1:
javafx.beans.NamedArg(value = "shift")
2:
javafx.beans.NamedArg(value = "control")
3:
javafx.beans.NamedArg(value = "alt")
4:
javafx.beans.NamedArg(value = "meta")
5:
javafx.beans.NamedArg(value = "shortcut")
MethodParameters:
Name Flags
character final
shift final
control final
alt final
meta final
shortcut final
public void <init>(java.lang.String, javafx.scene.input.KeyCombination$Modifier[]);
descriptor: (Ljava/lang/String;[Ljavafx/scene/input/KeyCombination$Modifier;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokespecial javafx.scene.input.KeyCombination.<init>:([Ljavafx/scene/input/KeyCombination$Modifier;)V
1: aload 0
ldc ""
putfield javafx.scene.input.KeyCharacterCombination.character:Ljava/lang/String;
2: aload 1
invokestatic javafx.scene.input.KeyCharacterCombination.validateKeyCharacter:(Ljava/lang/String;)V
3: aload 0
aload 1
putfield javafx.scene.input.KeyCharacterCombination.character:Ljava/lang/String;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavafx/scene/input/KeyCharacterCombination;
0 5 1 character Ljava/lang/String;
0 5 2 modifiers [Ljavafx/scene/input/KeyCombination$Modifier;
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "character")
1:
javafx.beans.NamedArg(value = "modifiers")
MethodParameters:
Name Flags
character final
modifiers final
public boolean match(javafx.scene.input.KeyEvent);
descriptor: (Ljavafx/scene/input/KeyEvent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javafx.scene.input.KeyEvent.getCode:()Ljavafx/scene/input/KeyCode;
getstatic javafx.scene.input.KeyCode.UNDEFINED:Ljavafx/scene/input/KeyCode;
if_acmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual javafx.scene.input.KeyEvent.getCode:()Ljavafx/scene/input/KeyCode;
invokevirtual javafx.scene.input.KeyCode.getCode:()I
3: invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
aload 0
invokevirtual javafx.scene.input.KeyCharacterCombination.getCharacter:()Ljava/lang/String;
invokevirtual com.sun.javafx.tk.Toolkit.getKeyCodeForChar:(Ljava/lang/String;)I
4: if_icmpne 7
5: aload 0
aload 1
invokespecial javafx.scene.input.KeyCombination.match:(Ljavafx/scene/input/KeyEvent;)Z
ifeq 7
6: iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavafx/scene/input/KeyCharacterCombination;
0 8 1 event Ljavafx/scene/input/KeyEvent;
MethodParameters:
Name Flags
event final
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokespecial javafx.scene.input.KeyCombination.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifle 4
3: aload 1
ldc "+"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield javafx.scene.input.KeyCharacterCombination.character:Ljava/lang/String;
ldc "'"
ldc "\\'"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavafx/scene/input/KeyCharacterCombination;
1 7 1 sb Ljava/lang/StringBuilder;
public java.lang.String getDisplayText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokespecial javafx.scene.input.KeyCombination.getDisplayText:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
invokevirtual javafx.scene.input.KeyCharacterCombination.getCharacter:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/input/KeyCharacterCombination;
1 4 1 sb Ljava/lang/StringBuilder;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof javafx.scene.input.KeyCharacterCombination
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.input.KeyCharacterCombination.character:Ljava/lang/String;
aload 1
checkcast javafx.scene.input.KeyCharacterCombination
invokevirtual javafx.scene.input.KeyCharacterCombination.getCharacter:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: aload 0
aload 1
invokespecial javafx.scene.input.KeyCombination.equals:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavafx/scene/input/KeyCharacterCombination;
0 8 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: bipush 23
aload 0
invokespecial javafx.scene.input.KeyCombination.hashCode:()I
imul
aload 0
getfield javafx.scene.input.KeyCharacterCombination.character:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/input/KeyCharacterCombination;
private static void validateKeyCharacter(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Key character must not be null!"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 keyCharacter Ljava/lang/String;
MethodParameters:
Name Flags
keyCharacter final
}
SourceFile: "KeyCharacterCombination.java"
InnerClasses:
public final Modifier = javafx.scene.input.KeyCombination$Modifier of javafx.scene.input.KeyCombination
public final ModifierValue = javafx.scene.input.KeyCombination$ModifierValue of javafx.scene.input.KeyCombination