abstract class javax.swing.text.GapVector implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: javax.swing.text.GapVector
super_class: java.lang.Object
{
private java.lang.Object array;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private int g0;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int g1;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 10
invokespecial javax.swing.text.GapVector.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/GapVector;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
iload 1
invokevirtual javax.swing.text.GapVector.allocateArray:(I)Ljava/lang/Object;
putfield javax.swing.text.GapVector.array:Ljava/lang/Object;
2: aload 0
iconst_0
putfield javax.swing.text.GapVector.g0:I
3: aload 0
iload 1
putfield javax.swing.text.GapVector.g1:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/GapVector;
0 5 1 initialLength I
MethodParameters:
Name Flags
initialLength
protected abstract java.lang.Object allocateArray(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
len
protected abstract int getArrayLength();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected final java.lang.Object getArray();
descriptor: ()Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.GapVector.array:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/GapVector;
protected final int getGapStart();
descriptor: ()I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.GapVector.g0:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/GapVector;
protected final int getGapEnd();
descriptor: ()I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.GapVector.g1:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/GapVector;
protected void replace(int, int, java.lang.Object, int);
descriptor: (IILjava/lang/Object;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_0
istore 5
start local 5 1: iload 4
ifne 4
2: aload 0
iload 1
iload 2
invokevirtual javax.swing.text.GapVector.close:(II)V
3: return
4: StackMap locals: int
StackMap stack:
iload 2
iload 4
if_icmple 7
5: aload 0
iload 1
iload 4
iadd
iload 2
iload 4
isub
invokevirtual javax.swing.text.GapVector.close:(II)V
6: goto 11
7: StackMap locals:
StackMap stack:
iload 4
iload 2
isub
istore 6
start local 6 8: aload 0
iload 1
iload 2
iadd
iload 6
invokevirtual javax.swing.text.GapVector.open:(II)I
istore 7
start local 7 9: aload 3
iload 2
aload 0
getfield javax.swing.text.GapVector.array:Ljava/lang/Object;
iload 7
iload 6
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: iload 2
istore 4
end local 7 end local 6 11: StackMap locals:
StackMap stack:
aload 3
iload 5
aload 0
getfield javax.swing.text.GapVector.array:Ljava/lang/Object;
iload 1
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: return
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 13 0 this Ljavax/swing/text/GapVector;
0 13 1 position I
0 13 2 rmSize I
0 13 3 addItems Ljava/lang/Object;
0 13 4 addSize I
1 13 5 addOffset I
8 11 6 endSize I
9 11 7 end I
MethodParameters:
Name Flags
position
rmSize
addItems
addSize
void close(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifne 1
return
1: StackMap locals:
StackMap stack:
iload 1
iload 2
iadd
istore 3
start local 3 2: aload 0
getfield javax.swing.text.GapVector.g1:I
aload 0
getfield javax.swing.text.GapVector.g0:I
isub
iload 2
iadd
istore 4
start local 4 3: iload 3
aload 0
getfield javax.swing.text.GapVector.g0:I
if_icmpgt 8
4: aload 0
getfield javax.swing.text.GapVector.g0:I
iload 3
if_icmpeq 6
5: aload 0
iload 3
invokevirtual javax.swing.text.GapVector.shiftGap:(I)V
6: StackMap locals: int int
StackMap stack:
aload 0
aload 0
getfield javax.swing.text.GapVector.g0:I
iload 2
isub
invokevirtual javax.swing.text.GapVector.shiftGapStartDown:(I)V
7: goto 15
StackMap locals:
StackMap stack:
8: iload 1
aload 0
getfield javax.swing.text.GapVector.g0:I
if_icmplt 13
9: aload 0
getfield javax.swing.text.GapVector.g0:I
iload 1
if_icmpeq 11
10: aload 0
iload 1
invokevirtual javax.swing.text.GapVector.shiftGap:(I)V
11: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.swing.text.GapVector.g0:I
iload 4
iadd
invokevirtual javax.swing.text.GapVector.shiftGapEndUp:(I)V
12: goto 15
13: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual javax.swing.text.GapVector.shiftGapStartDown:(I)V
14: aload 0
aload 0
getfield javax.swing.text.GapVector.g0:I
iload 4
iadd
invokevirtual javax.swing.text.GapVector.shiftGapEndUp:(I)V
15: StackMap locals:
StackMap stack:
return
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/GapVector;
0 16 1 position I
0 16 2 nItems I
2 16 3 end I
3 16 4 new_gs I
MethodParameters:
Name Flags
position
nItems
int open(int, int);
descriptor: (II)I
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.text.GapVector.g1:I
aload 0
getfield javax.swing.text.GapVector.g0:I
isub
istore 3
start local 3 1: iload 2
ifne 5
2: iload 1
aload 0
getfield javax.swing.text.GapVector.g0:I
if_icmple 4
3: iload 1
iload 3
iadd
istore 1
4: StackMap locals: int
StackMap stack:
iload 1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual javax.swing.text.GapVector.shiftGap:(I)V
6: iload 2
iload 3
if_icmplt 9
7: aload 0
aload 0
invokevirtual javax.swing.text.GapVector.getArrayLength:()I
iload 3
isub
iload 2
iadd
invokevirtual javax.swing.text.GapVector.shiftEnd:(I)V
8: aload 0
getfield javax.swing.text.GapVector.g1:I
aload 0
getfield javax.swing.text.GapVector.g0:I
isub
istore 3
9: StackMap locals:
StackMap stack:
aload 0
dup
getfield javax.swing.text.GapVector.g0:I
iload 2
iadd
putfield javax.swing.text.GapVector.g0:I
10: iload 1
ireturn
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/GapVector;
0 11 1 position I
0 11 2 nItems I
1 11 3 gapSize I
MethodParameters:
Name Flags
position
nItems
void resize(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.swing.text.GapVector.allocateArray:(I)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield javax.swing.text.GapVector.array:Ljava/lang/Object;
iconst_0
aload 2
iconst_0
iload 1
aload 0
invokevirtual javax.swing.text.GapVector.getArrayLength:()I
invokestatic java.lang.Math.min:(II)I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 0
aload 2
putfield javax.swing.text.GapVector.array:Ljava/lang/Object;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/GapVector;
0 4 1 nsize I
1 4 2 narray Ljava/lang/Object;
MethodParameters:
Name Flags
nsize
protected void shiftEnd(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.GapVector.getArrayLength:()I
istore 2
start local 2 1: aload 0
getfield javax.swing.text.GapVector.g1:I
istore 3
start local 3 2: iload 2
iload 3
isub
istore 4
start local 4 3: aload 0
iload 1
invokevirtual javax.swing.text.GapVector.getNewArraySize:(I)I
istore 5
start local 5 4: iload 5
iload 4
isub
istore 6
start local 6 5: aload 0
iload 5
invokevirtual javax.swing.text.GapVector.resize:(I)V
6: aload 0
iload 6
putfield javax.swing.text.GapVector.g1:I
7: iload 4
ifeq 9
8: aload 0
getfield javax.swing.text.GapVector.array:Ljava/lang/Object;
iload 3
aload 0
getfield javax.swing.text.GapVector.array:Ljava/lang/Object;
iload 6
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: StackMap locals: javax.swing.text.GapVector int int int int int int
StackMap stack:
return
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 10 0 this Ljavax/swing/text/GapVector;
0 10 1 newSize I
1 10 2 oldSize I
2 10 3 oldGapEnd I
3 10 4 upperSize I
4 10 5 arrayLength I
5 10 6 newGapEnd I
MethodParameters:
Name Flags
newSize
int getNewArraySize(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
iadd
iconst_2
imul
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/GapVector;
0 1 1 reqSize I
MethodParameters:
Name Flags
reqSize
protected void shiftGap(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield javax.swing.text.GapVector.g0:I
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.GapVector.g0:I
istore 2
start local 2 3: iload 1
iload 2
isub
istore 3
start local 3 4: aload 0
getfield javax.swing.text.GapVector.g1:I
istore 4
start local 4 5: iload 4
iload 3
iadd
istore 5
start local 5 6: aload 0
iload 1
putfield javax.swing.text.GapVector.g0:I
7: aload 0
iload 5
putfield javax.swing.text.GapVector.g1:I
8: iload 3
ifle 11
9: aload 0
getfield javax.swing.text.GapVector.array:Ljava/lang/Object;
iload 4
aload 0
getfield javax.swing.text.GapVector.array:Ljava/lang/Object;
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: goto 13
StackMap locals: javax.swing.text.GapVector int int int int int
StackMap stack:
11: iload 3
ifge 13
12: aload 0
getfield javax.swing.text.GapVector.array:Ljava/lang/Object;
iload 1
aload 0
getfield javax.swing.text.GapVector.array:Ljava/lang/Object;
iload 5
iload 3
ineg
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: StackMap locals:
StackMap stack:
return
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 14 0 this Ljavax/swing/text/GapVector;
0 14 1 newGapStart I
3 14 2 oldGapStart I
4 14 3 dg I
5 14 4 oldGapEnd I
6 14 5 newGapEnd I
MethodParameters:
Name Flags
newGapStart
protected void shiftGapStartDown(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.GapVector.g0:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/GapVector;
0 2 1 newGapStart I
MethodParameters:
Name Flags
newGapStart
protected void shiftGapEndUp(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.GapVector.g1:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/GapVector;
0 2 1 newGapEnd I
MethodParameters:
Name Flags
newGapEnd
}
SourceFile: "GapVector.java"