public class java.awt.DefaultFocusTraversalPolicy extends java.awt.ContainerOrderFocusTraversalPolicy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.DefaultFocusTraversalPolicy
super_class: java.awt.ContainerOrderFocusTraversalPolicy
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8876966522510157497
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.awt.ContainerOrderFocusTraversalPolicy.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/DefaultFocusTraversalPolicy;
protected boolean accept(java.awt.Component);
descriptor: (Ljava/awt/Component;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.Component.isVisible:()Z
ifeq 2
aload 1
invokevirtual java.awt.Component.isDisplayable:()Z
ifeq 2
1: aload 1
invokevirtual java.awt.Component.isEnabled:()Z
ifne 3
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
instanceof java.awt.Window
ifne 12
4: aload 1
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 2
start local 2 5: goto 11
6: StackMap locals: java.awt.Container
StackMap stack:
aload 2
invokevirtual java.awt.Container.isEnabled:()Z
ifne 8
aload 2
invokevirtual java.awt.Container.isLightweight:()Z
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 2
instanceof java.awt.Window
ifeq 10
9: goto 12
10: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.awt.Container.getParent:()Ljava/awt/Container;
astore 2
11: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
end local 2 12: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.Component.isFocusable:()Z
istore 2
start local 2 13: aload 1
invokevirtual java.awt.Component.isFocusTraversableOverridden:()Z
ifeq 15
14: iload 2
ireturn
15: StackMap locals: int
StackMap stack:
aload 1
getfield java.awt.Component.peer:Ljava/awt/peer/ComponentPeer;
astore 3
start local 3 16: aload 3
ifnull 17
aload 3
invokeinterface java.awt.peer.ComponentPeer.isFocusable:()Z
ifeq 17
iconst_1
ireturn
StackMap locals: java.awt.peer.ComponentPeer
StackMap stack:
17: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljava/awt/DefaultFocusTraversalPolicy;
0 18 1 aComponent Ljava/awt/Component;
5 12 2 enableTest Ljava/awt/Container;
13 18 2 focusable Z
16 18 3 peer Ljava/awt/peer/ComponentPeer;
MethodParameters:
Name Flags
aComponent
}
SourceFile: "DefaultFocusTraversalPolicy.java"