class javafx.embed.swing.SwingNode$SwingNodeWindowFocusListener implements java.awt.event.WindowFocusListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.embed.swing.SwingNode$SwingNodeWindowFocusListener
super_class: java.lang.Object
{
private java.lang.ref.WeakReference<javafx.embed.swing.SwingNode> swingNodeRef;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/ref/WeakReference<Ljavafx/embed/swing/SwingNode;>;
void <init>(javafx.embed.swing.SwingNode);
descriptor: (Ljavafx/embed/swing/SwingNode;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield javafx.embed.swing.SwingNode$SwingNodeWindowFocusListener.swingNodeRef:Ljava/lang/ref/WeakReference;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/embed/swing/SwingNode$SwingNodeWindowFocusListener;
0 3 1 swingNode Ljavafx/embed/swing/SwingNode;
MethodParameters:
Name Flags
swingNode
public void windowGainedFocus(java.awt.event.WindowEvent);
descriptor: (Ljava/awt/event/WindowEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokedynamic run(Ljavafx/embed/swing/SwingNode$SwingNodeWindowFocusListener;)Ljava/lang/Runnable;
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:
()V
javafx/embed/swing/SwingNode$SwingNodeWindowFocusListener.lambda$0()V (7)
()V
invokestatic com.sun.javafx.embed.swing.SwingNodeHelper.runOnFxThread:(Ljava/lang/Runnable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/embed/swing/SwingNode$SwingNodeWindowFocusListener;
0 2 1 e Ljava/awt/event/WindowEvent;
MethodParameters:
Name Flags
e
public void windowLostFocus(java.awt.event.WindowEvent);
descriptor: (Ljava/awt/event/WindowEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokedynamic run(Ljavafx/embed/swing/SwingNode$SwingNodeWindowFocusListener;)Ljava/lang/Runnable;
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:
()V
javafx/embed/swing/SwingNode$SwingNodeWindowFocusListener.lambda$1()V (7)
()V
invokestatic com.sun.javafx.embed.swing.SwingNodeHelper.runOnFxThread:(Ljava/lang/Runnable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/embed/swing/SwingNode$SwingNodeWindowFocusListener;
0 2 1 e Ljava/awt/event/WindowEvent;
MethodParameters:
Name Flags
e
private void lambda$0();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield javafx.embed.swing.SwingNode$SwingNodeWindowFocusListener.swingNodeRef:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast javafx.embed.swing.SwingNode
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual javafx.embed.swing.SwingNode.requestFocus:()V
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/embed/swing/SwingNode$SwingNodeWindowFocusListener;
1 3 1 swingNode Ljavafx/embed/swing/SwingNode;
private void lambda$1();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield javafx.embed.swing.SwingNode$SwingNodeWindowFocusListener.swingNodeRef:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast javafx.embed.swing.SwingNode
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
iconst_1
invokevirtual javafx.embed.swing.SwingNode.ungrabFocus:(Z)V
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/embed/swing/SwingNode$SwingNodeWindowFocusListener;
1 3 1 swingNode Ljavafx/embed/swing/SwingNode;
}
SourceFile: "SwingNode.java"
NestHost: javafx.embed.swing.SwingNode
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private SwingNodeWindowFocusListener = javafx.embed.swing.SwingNode$SwingNodeWindowFocusListener of javafx.embed.swing.SwingNode