public class javax.swing.text.AbstractDocument$LeafElement 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$LeafElement
super_class: javax.swing.text.AbstractDocument$AbstractElement
{
private transient javax.swing.text.Position p0;
descriptor: Ljavax/swing/text/Position;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient javax.swing.text.Position p1;
descriptor: Ljavax/swing/text/Position;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
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, int, int);
descriptor: (Ljavax/swing/text/AbstractDocument;Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=6
start local 0 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
putfield javax.swing.text.AbstractDocument$LeafElement.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
aload 1
iload 4
invokevirtual javax.swing.text.AbstractDocument.createPosition:(I)Ljavax/swing/text/Position;
putfield javax.swing.text.AbstractDocument$LeafElement.p0:Ljavax/swing/text/Position;
3: aload 0
aload 1
iload 5
invokevirtual javax.swing.text.AbstractDocument.createPosition:(I)Ljavax/swing/text/Position;
putfield javax.swing.text.AbstractDocument$LeafElement.p1:Ljavax/swing/text/Position;
4: goto 9
StackMap locals: javax.swing.text.AbstractDocument$LeafElement javax.swing.text.AbstractDocument javax.swing.text.Element javax.swing.text.AttributeSet int int
StackMap stack: javax.swing.text.BadLocationException
5: pop
6: aload 0
aconst_null
putfield javax.swing.text.AbstractDocument$LeafElement.p0:Ljavax/swing/text/Position;
7: aload 0
aconst_null
putfield javax.swing.text.AbstractDocument$LeafElement.p1:Ljavax/swing/text/Position;
8: new javax.swing.text.StateInvariantError
dup
ldc "Can't create Position references"
invokespecial javax.swing.text.StateInvariantError.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/AbstractDocument$LeafElement;
0 10 2 parent Ljavax/swing/text/Element;
0 10 3 a Ljavax/swing/text/AttributeSet;
0 10 4 offs0 I
0 10 5 offs1 I
Exception table:
from to target type
2 4 5 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
this$0 final
parent
a
offs0
offs1
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 "LeafElement("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual javax.swing.text.AbstractDocument$LeafElement.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
getfield javax.swing.text.AbstractDocument$LeafElement.p0:Ljavax/swing/text/Position;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.text.AbstractDocument$LeafElement.p1:Ljavax/swing/text/Position;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$LeafElement;
public int getStartOffset();
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$LeafElement.p0:Ljavax/swing/text/Position;
invokeinterface javax.swing.text.Position.getOffset:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$LeafElement;
public int getEndOffset();
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$LeafElement.p1:Ljavax/swing/text/Position;
invokeinterface javax.swing.text.Position.getOffset:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$LeafElement;
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 "content"
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$LeafElement;
1 4 1 nm Ljava/lang/String;
public int getElementIndex(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$LeafElement;
0 1 1 pos I
MethodParameters:
Name Flags
pos
public javax.swing.text.Element getElement(int);
descriptor: (I)Ljavax/swing/text/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$LeafElement;
0 1 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: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$LeafElement;
public boolean isLeaf();
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$LeafElement;
public boolean getAllowsChildren();
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$LeafElement;
public java.util.Enumeration<javax.swing.tree.TreeNode> children();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$LeafElement;
Signature: ()Ljava/util/Enumeration<Ljavax/swing/tree/TreeNode;>;
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 1
aload 0
getfield javax.swing.text.AbstractDocument$LeafElement.p0:Ljavax/swing/text/Position;
invokeinterface javax.swing.text.Position.getOffset:()I
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
2: aload 1
aload 0
getfield javax.swing.text.AbstractDocument$LeafElement.p1:Ljavax/swing/text/Position;
invokeinterface javax.swing.text.Position.getOffset:()I
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/AbstractDocument$LeafElement;
0 4 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 1
invokevirtual java.io.ObjectInputStream.readInt:()I
istore 2
start local 2 2: aload 1
invokevirtual java.io.ObjectInputStream.readInt:()I
istore 3
start local 3 3: aload 0
aload 0
getfield javax.swing.text.AbstractDocument$LeafElement.this$0:Ljavax/swing/text/AbstractDocument;
iload 2
invokevirtual javax.swing.text.AbstractDocument.createPosition:(I)Ljavax/swing/text/Position;
putfield javax.swing.text.AbstractDocument$LeafElement.p0:Ljavax/swing/text/Position;
4: aload 0
aload 0
getfield javax.swing.text.AbstractDocument$LeafElement.this$0:Ljavax/swing/text/AbstractDocument;
iload 3
invokevirtual javax.swing.text.AbstractDocument.createPosition:(I)Ljavax/swing/text/Position;
putfield javax.swing.text.AbstractDocument$LeafElement.p1:Ljavax/swing/text/Position;
5: goto 10
StackMap locals: javax.swing.text.AbstractDocument$LeafElement java.io.ObjectInputStream int int
StackMap stack: javax.swing.text.BadLocationException
6: pop
7: aload 0
aconst_null
putfield javax.swing.text.AbstractDocument$LeafElement.p0:Ljavax/swing/text/Position;
8: aload 0
aconst_null
putfield javax.swing.text.AbstractDocument$LeafElement.p1:Ljavax/swing/text/Position;
9: new java.io.IOException
dup
ldc "Can't restore Position references"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/AbstractDocument$LeafElement;
0 11 1 s Ljava/io/ObjectInputStream;
2 11 2 off0 I
3 11 3 off1 I
Exception table:
from to target type
3 5 6 Class javax.swing.text.BadLocationException
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
s
}
SourceFile: "AbstractDocument.java"
NestHost: javax.swing.text.AbstractDocument
InnerClasses:
public abstract AbstractElement = javax.swing.text.AbstractDocument$AbstractElement of javax.swing.text.AbstractDocument
public LeafElement = javax.swing.text.AbstractDocument$LeafElement of javax.swing.text.AbstractDocument