class javax.swing.text.StyledEditorKit$StyledViewFactory implements javax.swing.text.ViewFactory
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.StyledEditorKit$StyledViewFactory
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/StyledEditorKit$StyledViewFactory;
public javax.swing.text.View create(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)Ljavax/swing/text/View;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.swing.text.Element.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 12
2: aload 2
ldc "content"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: new javax.swing.text.LabelView
dup
aload 1
invokespecial javax.swing.text.LabelView.<init>:(Ljavax/swing/text/Element;)V
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "paragraph"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: new javax.swing.text.ParagraphView
dup
aload 1
invokespecial javax.swing.text.ParagraphView.<init>:(Ljavax/swing/text/Element;)V
areturn
6: StackMap locals:
StackMap stack:
aload 2
ldc "section"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: new javax.swing.text.BoxView
dup
aload 1
iconst_1
invokespecial javax.swing.text.BoxView.<init>:(Ljavax/swing/text/Element;I)V
areturn
8: StackMap locals:
StackMap stack:
aload 2
ldc "component"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: new javax.swing.text.ComponentView
dup
aload 1
invokespecial javax.swing.text.ComponentView.<init>:(Ljavax/swing/text/Element;)V
areturn
10: StackMap locals:
StackMap stack:
aload 2
ldc "icon"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: new javax.swing.text.IconView
dup
aload 1
invokespecial javax.swing.text.IconView.<init>:(Ljavax/swing/text/Element;)V
areturn
12: StackMap locals:
StackMap stack:
new javax.swing.text.LabelView
dup
aload 1
invokespecial javax.swing.text.LabelView.<init>:(Ljavax/swing/text/Element;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/text/StyledEditorKit$StyledViewFactory;
0 13 1 elem Ljavax/swing/text/Element;
1 13 2 kind Ljava/lang/String;
MethodParameters:
Name Flags
elem
}
SourceFile: "StyledEditorKit.java"
NestHost: javax.swing.text.StyledEditorKit
InnerClasses:
StyledViewFactory = javax.swing.text.StyledEditorKit$StyledViewFactory of javax.swing.text.StyledEditorKit