class org.apache.fop.fo.FOText$TextCharIterator extends org.apache.fop.fo.CharIterator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.fop.fo.FOText$TextCharIterator
super_class: org.apache.fop.fo.CharIterator
{
private int currentPosition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean canRemove;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean canReplace;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final org.apache.fop.fo.FOText this$0;
descriptor: Lorg/apache/fop/fo/FOText;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.apache.fop.fo.FOText);
descriptor: (Lorg/apache/fop/fo/FOText;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.apache.fop.fo.FOText$TextCharIterator.this$0:Lorg/apache/fop/fo/FOText;
aload 0
invokespecial org.apache.fop.fo.CharIterator.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/fop/fo/FOText$TextCharIterator;
MethodParameters:
Name Flags
this$0 final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.currentPosition:I
aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.this$0:Lorg/apache/fop/fo/FOText;
getfield org.apache.fop.fo.FOText.charBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.limit:()I
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/fop/fo/FOText$TextCharIterator;
public char nextChar();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.currentPosition:I
aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.this$0:Lorg/apache/fop/fo/FOText;
getfield org.apache.fop.fo.FOText.charBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.limit:()I
if_icmpge 4
1: aload 0
iconst_1
putfield org.apache.fop.fo.FOText$TextCharIterator.canRemove:Z
2: aload 0
iconst_1
putfield org.apache.fop.fo.FOText$TextCharIterator.canReplace:Z
3: aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.this$0:Lorg/apache/fop/fo/FOText;
getfield org.apache.fop.fo.FOText.charBuffer:Ljava/nio/CharBuffer;
aload 0
dup
getfield org.apache.fop.fo.FOText$TextCharIterator.currentPosition:I
dup_x1
iconst_1
iadd
putfield org.apache.fop.fo.FOText$TextCharIterator.currentPosition:I
invokevirtual java.nio.CharBuffer.get:(I)C
ireturn
4: StackMap locals:
StackMap stack:
new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/fop/fo/FOText$TextCharIterator;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.canRemove:Z
ifeq 11
1: aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.this$0:Lorg/apache/fop/fo/FOText;
getfield org.apache.fop.fo.FOText.charBuffer:Ljava/nio/CharBuffer;
aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.currentPosition:I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
2: aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.this$0:Lorg/apache/fop/fo/FOText;
getfield org.apache.fop.fo.FOText.charBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.slice:()Ljava/nio/CharBuffer;
astore 1
start local 1 3: aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.this$0:Lorg/apache/fop/fo/FOText;
getfield org.apache.fop.fo.FOText.charBuffer:Ljava/nio/CharBuffer;
aload 0
dup
getfield org.apache.fop.fo.FOText$TextCharIterator.currentPosition:I
iconst_1
isub
dup_x1
putfield org.apache.fop.fo.FOText$TextCharIterator.currentPosition:I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
4: aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifeq 8
5: aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.this$0:Lorg/apache/fop/fo/FOText;
getfield org.apache.fop.fo.FOText.charBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.mark:()Ljava/nio/Buffer;
pop
6: aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.this$0:Lorg/apache/fop/fo/FOText;
getfield org.apache.fop.fo.FOText.charBuffer:Ljava/nio/CharBuffer;
aload 1
invokevirtual java.nio.CharBuffer.put:(Ljava/nio/CharBuffer;)Ljava/nio/CharBuffer;
pop
7: aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.this$0:Lorg/apache/fop/fo/FOText;
getfield org.apache.fop.fo.FOText.charBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.reset:()Ljava/nio/Buffer;
pop
8: StackMap locals: java.nio.CharBuffer
StackMap stack:
aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.this$0:Lorg/apache/fop/fo/FOText;
getfield org.apache.fop.fo.FOText.charBuffer:Ljava/nio/CharBuffer;
aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.this$0:Lorg/apache/fop/fo/FOText;
getfield org.apache.fop.fo.FOText.charBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.limit:()I
iconst_1
isub
invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/Buffer;
pop
9: aload 0
iconst_0
putfield org.apache.fop.fo.FOText$TextCharIterator.canRemove:Z
end local 1 10: goto 12
11: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/fop/fo/FOText$TextCharIterator;
3 10 1 tmp Ljava/nio/CharBuffer;
public void replaceChar(char);
descriptor: (C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.canReplace:Z
ifeq 3
1: aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.this$0:Lorg/apache/fop/fo/FOText;
getfield org.apache.fop.fo.FOText.charBuffer:Ljava/nio/CharBuffer;
aload 0
getfield org.apache.fop.fo.FOText$TextCharIterator.currentPosition:I
iconst_1
isub
iload 1
invokevirtual java.nio.CharBuffer.put:(IC)Ljava/nio/CharBuffer;
pop
2: goto 4
3: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/fop/fo/FOText$TextCharIterator;
0 5 1 c C
MethodParameters:
Name Flags
c
}
SourceFile: "FOText.java"
NestHost: org.apache.fop.fo.FOText
InnerClasses:
private TextCharIterator = org.apache.fop.fo.FOText$TextCharIterator of org.apache.fop.fo.FOText