public class javax.swing.text.AbstractDocument$BranchElement extends javax.swing.text.AbstractDocument$AbstractElement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.AbstractDocument$BranchElement
super_class: javax.swing.text.AbstractDocument$AbstractElement
{
private javax.swing.text.AbstractDocument$AbstractElement[] children;
descriptor: [Ljavax/swing/text/AbstractDocument$AbstractElement;
flags: (0x0002) ACC_PRIVATE
private int nchildren;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int lastIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final javax.swing.text.AbstractDocument this$0;
descriptor: Ljavax/swing/text/AbstractDocument;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(javax.swing.text.AbstractDocument, javax.swing.text.Element, javax.swing.text.AttributeSet);
descriptor: (Ljavax/swing/text/AbstractDocument;Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield javax.swing.text.AbstractDocument$BranchElement.this$0:Ljavax/swing/text/AbstractDocument;
1: aload 0
aload 1
aload 2
aload 3
invokespecial javax.swing.text.AbstractDocument$AbstractElement.<init>:(Ljavax/swing/text/AbstractDocument;Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;)V
2: aload 0
iconst_1
anewarray javax.swing.text.AbstractDocument$AbstractElement
putfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
3: aload 0
iconst_0
putfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
4: aload 0
iconst_m1
putfield javax.swing.text.AbstractDocument$BranchElement.lastIndex:I
5: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/AbstractDocument$BranchElement;
0 6 2 parent Ljavax/swing/text/Element;
0 6 3 a Ljavax/swing/text/AttributeSet;
MethodParameters:
Name Flags
this$0 final
parent
a
public javax.swing.text.Element positionToElement(int);
descriptor: (I)Ljavax/swing/text/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElementIndex:(I)I
istore 2
start local 2 1: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
iload 2
aaload
astore 3
start local 3 2: aload 3
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 4
start local 4 3: aload 3
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 5
start local 5 4: iload 1
iload 4
if_icmplt 6
iload 1
iload 5
if_icmpge 6
5: aload 3
areturn
6: StackMap locals: javax.swing.text.AbstractDocument$BranchElement int int javax.swing.text.Element int int
StackMap stack:
aconst_null
areturn
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 Ljavax/swing/text/AbstractDocument$BranchElement;
0 7 1 pos I
1 7 2 index I
2 7 3 child Ljavax/swing/text/Element;
3 7 4 p0 I
4 7 5 p1 I
MethodParameters:
Name Flags
pos
public void replace(int, int, javax.swing.text.Element[]);
descriptor: (II[Ljavax/swing/text/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
arraylength
iload 2
isub
istore 4
start local 4 1: iload 1
iload 2
iadd
istore 5
start local 5 2: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
iload 5
isub
istore 6
start local 6 3: iload 5
iload 4
iadd
istore 7
start local 7 4: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
iload 4
iadd
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
arraylength
if_icmplt 12
5: iconst_2
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
arraylength
imul
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
iload 4
iadd
invokestatic java.lang.Math.max:(II)I
istore 8
start local 8 6: iload 8
anewarray javax.swing.text.AbstractDocument$AbstractElement
astore 9
start local 9 7: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
iconst_0
aload 9
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 3
iconst_0
aload 9
iload 1
aload 3
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
iload 5
aload 9
iload 7
iload 6
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 0
aload 9
putfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
end local 9 end local 8 11: goto 14
12: StackMap locals: javax.swing.text.AbstractDocument$BranchElement int int javax.swing.text.Element[] int int int int
StackMap stack:
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
iload 5
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
iload 7
iload 6
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: aload 3
iconst_0
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
iload 1
aload 3
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
14: StackMap locals:
StackMap stack:
aload 0
dup
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
iload 4
iadd
putfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
15: return
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 16 0 this Ljavax/swing/text/AbstractDocument$BranchElement;
0 16 1 offset I
0 16 2 length I
0 16 3 elems [Ljavax/swing/text/Element;
1 16 4 delta I
2 16 5 src I
3 16 6 nmove I
4 16 7 dest I
6 11 8 newLength I
7 11 9 newChildren [Ljavax/swing/text/AbstractDocument$AbstractElement;
MethodParameters:
Name Flags
offset
length
elems
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 "BranchElement("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getName:()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 javax.swing.text.AbstractDocument$BranchElement.getStartOffset:()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 javax.swing.text.AbstractDocument$BranchElement.getEndOffset:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/AbstractDocument$BranchElement;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.text.AbstractDocument$AbstractElement.getName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: ldc "paragraph"
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/AbstractDocument$BranchElement;
1 4 1 nm Ljava/lang/String;
public int getStartOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
iconst_0
aaload
invokevirtual javax.swing.text.AbstractDocument$AbstractElement.getStartOffset:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$BranchElement;
public int getEndOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
ifle 1
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
iconst_1
isub
aaload
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
iconst_0
aaload
2: StackMap locals:
StackMap stack: javax.swing.text.AbstractDocument$AbstractElement
astore 1
start local 1 3: aload 1
invokeinterface javax.swing.text.Element.getEndOffset:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/AbstractDocument$BranchElement;
3 4 1 child Ljavax/swing/text/Element;
public javax.swing.text.Element getElement(int);
descriptor: (I)Ljavax/swing/text/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
if_icmpge 2
1: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
iload 1
aaload
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/AbstractDocument$BranchElement;
0 3 1 index I
MethodParameters:
Name Flags
index
public int getElementCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$BranchElement;
public int getElementIndex(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: iconst_0
istore 3
start local 3 1: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
iconst_1
isub
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: aload 0
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getStartOffset:()I
istore 6
start local 6 4: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
ifne 6
5: iconst_0
ireturn
6: StackMap locals: javax.swing.text.AbstractDocument$BranchElement int top int int int int
StackMap stack:
iload 1
aload 0
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getEndOffset:()I
if_icmplt 8
7: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
iconst_1
isub
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.lastIndex:I
iload 3
if_icmplt 31
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.lastIndex:I
iload 4
if_icmpgt 31
9: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.lastIndex:I
aaload
astore 8
start local 8 10: aload 8
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 6
11: aload 8
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 7
start local 7 12: iload 1
iload 6
if_icmplt 14
iload 1
iload 7
if_icmpge 14
13: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.lastIndex:I
ireturn
14: StackMap locals: int javax.swing.text.Element
StackMap stack:
iload 1
iload 6
if_icmpge 17
15: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.lastIndex:I
istore 4
16: goto 31
17: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.lastIndex:I
istore 3
end local 8 end local 7 18: goto 31
19: StackMap locals:
StackMap stack:
iload 3
iload 4
iload 3
isub
iconst_2
idiv
iadd
istore 5
20: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
iload 5
aaload
astore 8
start local 8 21: aload 8
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 6
22: aload 8
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 7
start local 7 23: iload 1
iload 6
if_icmplt 27
iload 1
iload 7
if_icmpge 27
24: iload 5
istore 2
start local 2 25: aload 0
iload 2
putfield javax.swing.text.AbstractDocument$BranchElement.lastIndex:I
26: iload 2
ireturn
end local 2 27: StackMap locals: int javax.swing.text.Element
StackMap stack:
iload 1
iload 6
if_icmpge 30
28: iload 5
iconst_1
isub
istore 4
29: goto 31
30: StackMap locals:
StackMap stack:
iload 5
iconst_1
iadd
istore 3
end local 8 end local 7 31: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmple 19
32: iload 1
iload 6
if_icmpge 35
33: iload 5
istore 2
start local 2 34: goto 36
end local 2 35: StackMap locals:
StackMap stack:
iload 5
iconst_1
iadd
istore 2
start local 2 36: StackMap locals: javax.swing.text.AbstractDocument$BranchElement int int int int int int
StackMap stack:
aload 0
iload 2
putfield javax.swing.text.AbstractDocument$BranchElement.lastIndex:I
37: iload 2
ireturn
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 38 0 this Ljavax/swing/text/AbstractDocument$BranchElement;
0 38 1 offset I
25 27 2 index I
34 35 2 index I
36 38 2 index I
1 38 3 lower I
2 38 4 upper I
3 38 5 mid I
4 38 6 p0 I
12 18 7 p1 I
23 31 7 p1 I
10 18 8 lastHit Ljavax/swing/text/Element;
21 31 8 elem Ljavax/swing/text/Element;
MethodParameters:
Name Flags
offset
public boolean isLeaf();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$BranchElement;
public boolean getAllowsChildren();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$BranchElement;
public java.util.Enumeration<javax.swing.tree.TreeNode> children();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.util.Vector
dup
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
invokespecial java.util.Vector.<init>:(I)V
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: goto 7
5: StackMap locals: java.util.Vector int
StackMap stack:
aload 1
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.children:[Ljavax/swing/text/AbstractDocument$AbstractElement;
iload 2
aaload
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield javax.swing.text.AbstractDocument$BranchElement.nchildren:I
if_icmplt 5
end local 2 8: aload 1
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/text/AbstractDocument$BranchElement;
3 9 1 tempVector Ljava/util/Vector<Ljavax/swing/tree/TreeNode;>;
4 8 2 counter I
Signature: ()Ljava/util/Enumeration<Ljavax/swing/tree/TreeNode;>;
}
SourceFile: "AbstractDocument.java"
NestHost: javax.swing.text.AbstractDocument
InnerClasses:
public abstract AbstractElement = javax.swing.text.AbstractDocument$AbstractElement of javax.swing.text.AbstractDocument
public BranchElement = javax.swing.text.AbstractDocument$BranchElement of javax.swing.text.AbstractDocument