public class javax.swing.text.Segment implements java.lang.Cloneable, java.text.CharacterIterator, java.lang.CharSequence
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.Segment
super_class: java.lang.Object
{
public char[] array;
descriptor: [C
flags: (0x0001) ACC_PUBLIC
public int offset;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int count;
descriptor: I
flags: (0x0001) ACC_PUBLIC
private boolean partialReturn;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
iconst_0
iconst_0
invokespecial javax.swing.text.Segment.<init>:([CII)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/Segment;
public void <init>(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield javax.swing.text.Segment.array:[C
2: aload 0
iload 2
putfield javax.swing.text.Segment.offset:I
3: aload 0
iload 3
putfield javax.swing.text.Segment.count:I
4: aload 0
iconst_0
putfield javax.swing.text.Segment.partialReturn:Z
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/Segment;
0 6 1 array [C
0 6 2 offset I
0 6 3 count I
MethodParameters:
Name Flags
array
offset
count
public void setPartialReturn(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.Segment.partialReturn:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/Segment;
0 2 1 p Z
MethodParameters:
Name Flags
p
public boolean isPartialReturn();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.Segment.partialReturn:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/Segment;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.Segment.array:[C
ifnull 2
1: new java.lang.String
dup
aload 0
getfield javax.swing.text.Segment.array:[C
aload 0
getfield javax.swing.text.Segment.offset:I
aload 0
getfield javax.swing.text.Segment.count:I
invokespecial java.lang.String.<init>:([CII)V
areturn
2: StackMap locals:
StackMap stack:
ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/Segment;
public char first();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield javax.swing.text.Segment.offset:I
putfield javax.swing.text.Segment.pos:I
1: aload 0
getfield javax.swing.text.Segment.count:I
ifeq 3
2: aload 0
getfield javax.swing.text.Segment.array:[C
aload 0
getfield javax.swing.text.Segment.pos:I
caload
ireturn
3: StackMap locals:
StackMap stack:
ldc 65535
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/Segment;
public char last();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield javax.swing.text.Segment.offset:I
aload 0
getfield javax.swing.text.Segment.count:I
iadd
putfield javax.swing.text.Segment.pos:I
1: aload 0
getfield javax.swing.text.Segment.count:I
ifeq 4
2: aload 0
dup
getfield javax.swing.text.Segment.pos:I
iconst_1
isub
putfield javax.swing.text.Segment.pos:I
3: aload 0
getfield javax.swing.text.Segment.array:[C
aload 0
getfield javax.swing.text.Segment.pos:I
caload
ireturn
4: StackMap locals:
StackMap stack:
ldc 65535
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/Segment;
public char current();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.Segment.count:I
ifeq 2
aload 0
getfield javax.swing.text.Segment.pos:I
aload 0
getfield javax.swing.text.Segment.offset:I
aload 0
getfield javax.swing.text.Segment.count:I
iadd
if_icmpge 2
1: aload 0
getfield javax.swing.text.Segment.array:[C
aload 0
getfield javax.swing.text.Segment.pos:I
caload
ireturn
2: StackMap locals:
StackMap stack:
ldc 65535
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/Segment;
public char next();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
dup
getfield javax.swing.text.Segment.pos:I
iconst_1
iadd
putfield javax.swing.text.Segment.pos:I
1: aload 0
getfield javax.swing.text.Segment.offset:I
aload 0
getfield javax.swing.text.Segment.count:I
iadd
istore 1
start local 1 2: aload 0
getfield javax.swing.text.Segment.pos:I
iload 1
if_icmplt 5
3: aload 0
iload 1
putfield javax.swing.text.Segment.pos:I
4: ldc 65535
ireturn
5: StackMap locals: int
StackMap stack:
aload 0
invokevirtual javax.swing.text.Segment.current:()C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/Segment;
2 6 1 end I
public char previous();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.Segment.pos:I
aload 0
getfield javax.swing.text.Segment.offset:I
if_icmpne 2
1: ldc 65535
ireturn
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield javax.swing.text.Segment.pos:I
iconst_1
isub
putfield javax.swing.text.Segment.pos:I
3: aload 0
invokevirtual javax.swing.text.Segment.current:()C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/Segment;
public char setIndex(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.Segment.offset:I
aload 0
getfield javax.swing.text.Segment.count:I
iadd
istore 2
start local 2 1: iload 1
aload 0
getfield javax.swing.text.Segment.offset:I
if_icmplt 2
iload 1
iload 2
if_icmple 3
2: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "bad position: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield javax.swing.text.Segment.pos:I
4: aload 0
getfield javax.swing.text.Segment.pos:I
iload 2
if_icmpeq 6
aload 0
getfield javax.swing.text.Segment.count:I
ifeq 6
5: aload 0
getfield javax.swing.text.Segment.array:[C
aload 0
getfield javax.swing.text.Segment.pos:I
caload
ireturn
6: StackMap locals:
StackMap stack:
ldc 65535
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/text/Segment;
0 7 1 position I
1 7 2 end I
MethodParameters:
Name Flags
position
public int getBeginIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.Segment.offset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/Segment;
public int getEndIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.Segment.offset:I
aload 0
getfield javax.swing.text.Segment.count:I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/Segment;
public int getIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.Segment.pos:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/Segment;
public char charAt(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 2
1: iload 1
aload 0
getfield javax.swing.text.Segment.count:I
if_icmplt 3
2: StackMap locals:
StackMap stack:
new java.lang.StringIndexOutOfBoundsException
dup
iload 1
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.Segment.array:[C
aload 0
getfield javax.swing.text.Segment.offset:I
iload 1
iadd
caload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/Segment;
0 4 1 index I
MethodParameters:
Name Flags
index
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.Segment.count:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/Segment;
public java.lang.CharSequence subSequence(int, int);
descriptor: (II)Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifge 2
1: new java.lang.StringIndexOutOfBoundsException
dup
iload 1
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield javax.swing.text.Segment.count:I
if_icmple 4
3: new java.lang.StringIndexOutOfBoundsException
dup
iload 2
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
4: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmple 6
5: new java.lang.StringIndexOutOfBoundsException
dup
iload 2
iload 1
isub
invokespecial java.lang.StringIndexOutOfBoundsException.<init>:(I)V
athrow
6: StackMap locals:
StackMap stack:
new javax.swing.text.Segment
dup
invokespecial javax.swing.text.Segment.<init>:()V
astore 3
start local 3 7: aload 3
aload 0
getfield javax.swing.text.Segment.array:[C
putfield javax.swing.text.Segment.array:[C
8: aload 3
aload 0
getfield javax.swing.text.Segment.offset:I
iload 1
iadd
putfield javax.swing.text.Segment.offset:I
9: aload 3
iload 2
iload 1
isub
putfield javax.swing.text.Segment.count:I
10: aload 3
areturn
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/Segment;
0 11 1 start I
0 11 2 end I
7 11 3 segment Ljavax/swing/text/Segment;
MethodParameters:
Name Flags
start
end
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
astore 1
start local 1 1: goto 4
end local 1 StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
2: pop
3: aconst_null
astore 1
start local 1 4: StackMap locals: java.lang.Object
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/Segment;
1 2 1 o Ljava/lang/Object;
4 5 1 o Ljava/lang/Object;
Exception table:
from to target type
0 1 2 Class java.lang.CloneNotSupportedException
}
SourceFile: "Segment.java"