public final class java.text.StringCharacterIterator implements java.text.CharacterIterator
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.text.StringCharacterIterator
super_class: java.lang.Object
{
private java.lang.String text;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int begin;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int end;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial java.text.StringCharacterIterator.<init>:(Ljava/lang/String;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/text/StringCharacterIterator;
0 2 1 text Ljava/lang/String;
MethodParameters:
Name Flags
text
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iload 2
invokespecial java.text.StringCharacterIterator.<init>:(Ljava/lang/String;III)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/text/StringCharacterIterator;
0 2 1 text Ljava/lang/String;
0 2 2 pos I
MethodParameters:
Name Flags
text
pos
public void <init>(java.lang.String, int, int, int);
descriptor: (Ljava/lang/String;III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
3: StackMap locals: java.text.StringCharacterIterator java.lang.String int int int
StackMap stack:
aload 0
aload 1
putfield java.text.StringCharacterIterator.text:Ljava/lang/String;
4: iload 2
iflt 5
iload 2
iload 3
if_icmpgt 5
iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmple 6
5: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid substring range"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iload 4
iload 2
if_icmplt 7
iload 4
iload 3
if_icmple 8
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid position"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield java.text.StringCharacterIterator.begin:I
9: aload 0
iload 3
putfield java.text.StringCharacterIterator.end:I
10: aload 0
iload 4
putfield java.text.StringCharacterIterator.pos:I
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/text/StringCharacterIterator;
0 12 1 text Ljava/lang/String;
0 12 2 begin I
0 12 3 end I
0 12 4 pos I
MethodParameters:
Name Flags
text
begin
end
pos
public void setText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield java.text.StringCharacterIterator.text:Ljava/lang/String;
3: aload 0
iconst_0
putfield java.text.StringCharacterIterator.begin:I
4: aload 0
aload 1
invokevirtual java.lang.String.length:()I
putfield java.text.StringCharacterIterator.end:I
5: aload 0
iconst_0
putfield java.text.StringCharacterIterator.pos:I
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/text/StringCharacterIterator;
0 7 1 text Ljava/lang/String;
MethodParameters:
Name Flags
text
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 java.text.StringCharacterIterator.begin:I
putfield java.text.StringCharacterIterator.pos:I
1: aload 0
invokevirtual java.text.StringCharacterIterator.current:()C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/text/StringCharacterIterator;
public char last();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.StringCharacterIterator.end:I
aload 0
getfield java.text.StringCharacterIterator.begin:I
if_icmpeq 3
1: aload 0
aload 0
getfield java.text.StringCharacterIterator.end:I
iconst_1
isub
putfield java.text.StringCharacterIterator.pos:I
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.text.StringCharacterIterator.end:I
putfield java.text.StringCharacterIterator.pos:I
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.text.StringCharacterIterator.current:()C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/text/StringCharacterIterator;
public char setIndex(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
aload 0
getfield java.text.StringCharacterIterator.begin:I
if_icmplt 1
iload 1
aload 0
getfield java.text.StringCharacterIterator.end:I
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid index"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield java.text.StringCharacterIterator.pos:I
3: aload 0
invokevirtual java.text.StringCharacterIterator.current:()C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/text/StringCharacterIterator;
0 4 1 p I
MethodParameters:
Name Flags
p
public char current();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.StringCharacterIterator.pos:I
aload 0
getfield java.text.StringCharacterIterator.begin:I
if_icmplt 2
aload 0
getfield java.text.StringCharacterIterator.pos:I
aload 0
getfield java.text.StringCharacterIterator.end:I
if_icmpge 2
1: aload 0
getfield java.text.StringCharacterIterator.text:Ljava/lang/String;
aload 0
getfield java.text.StringCharacterIterator.pos:I
invokevirtual java.lang.String.charAt:(I)C
ireturn
2: StackMap locals:
StackMap stack:
ldc 65535
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/text/StringCharacterIterator;
public char next();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.StringCharacterIterator.pos:I
aload 0
getfield java.text.StringCharacterIterator.end:I
iconst_1
isub
if_icmpge 3
1: aload 0
dup
getfield java.text.StringCharacterIterator.pos:I
iconst_1
iadd
putfield java.text.StringCharacterIterator.pos:I
2: aload 0
getfield java.text.StringCharacterIterator.text:Ljava/lang/String;
aload 0
getfield java.text.StringCharacterIterator.pos:I
invokevirtual java.lang.String.charAt:(I)C
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.text.StringCharacterIterator.end:I
putfield java.text.StringCharacterIterator.pos:I
4: ldc 65535
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/text/StringCharacterIterator;
public char previous();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.StringCharacterIterator.pos:I
aload 0
getfield java.text.StringCharacterIterator.begin:I
if_icmple 3
1: aload 0
dup
getfield java.text.StringCharacterIterator.pos:I
iconst_1
isub
putfield java.text.StringCharacterIterator.pos:I
2: aload 0
getfield java.text.StringCharacterIterator.text:Ljava/lang/String;
aload 0
getfield java.text.StringCharacterIterator.pos:I
invokevirtual java.lang.String.charAt:(I)C
ireturn
3: StackMap locals:
StackMap stack:
ldc 65535
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/text/StringCharacterIterator;
public int getBeginIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.StringCharacterIterator.begin:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/StringCharacterIterator;
public int getEndIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.StringCharacterIterator.end:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/StringCharacterIterator;
public int getIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.StringCharacterIterator.pos:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/StringCharacterIterator;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.text.StringCharacterIterator
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.text.StringCharacterIterator
astore 2
start local 2 5: aload 0
invokevirtual java.text.StringCharacterIterator.hashCode:()I
aload 2
invokevirtual java.text.StringCharacterIterator.hashCode:()I
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: java.text.StringCharacterIterator
StackMap stack:
aload 0
getfield java.text.StringCharacterIterator.text:Ljava/lang/String;
aload 2
getfield java.text.StringCharacterIterator.text:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield java.text.StringCharacterIterator.pos:I
aload 2
getfield java.text.StringCharacterIterator.pos:I
if_icmpne 10
aload 0
getfield java.text.StringCharacterIterator.begin:I
aload 2
getfield java.text.StringCharacterIterator.begin:I
if_icmpne 10
aload 0
getfield java.text.StringCharacterIterator.end:I
aload 2
getfield java.text.StringCharacterIterator.end:I
if_icmpeq 11
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/text/StringCharacterIterator;
0 12 1 obj Ljava/lang/Object;
5 12 2 that Ljava/text/StringCharacterIterator;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.StringCharacterIterator.text:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
aload 0
getfield java.text.StringCharacterIterator.pos:I
ixor
aload 0
getfield java.text.StringCharacterIterator.begin:I
ixor
aload 0
getfield java.text.StringCharacterIterator.end:I
ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/StringCharacterIterator;
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
checkcast java.text.StringCharacterIterator
1: astore 1
start local 1 2: aload 1
3: areturn
end local 1 4: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
astore 1
start local 1 5: new java.lang.InternalError
dup
aload 1
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/text/StringCharacterIterator;
2 4 1 other Ljava/text/StringCharacterIterator;
5 6 1 e Ljava/lang/CloneNotSupportedException;
Exception table:
from to target type
0 3 4 Class java.lang.CloneNotSupportedException
}
SourceFile: "StringCharacterIterator.java"