class java.text.CharacterIteratorFieldDelegate implements java.text.Format$FieldDelegate
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: java.text.CharacterIteratorFieldDelegate
super_class: java.lang.Object
{
private java.util.ArrayList<java.text.AttributedString> attributedStrings;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Ljava/text/AttributedString;>;
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield java.text.CharacterIteratorFieldDelegate.attributedStrings:Ljava/util/ArrayList;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/text/CharacterIteratorFieldDelegate;
public void formatted(java.text.Format$Field, java.lang.Object, int, int, java.lang.StringBuffer);
descriptor: (Ljava/text/Format$Field;Ljava/lang/Object;IILjava/lang/StringBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 3
iload 4
if_icmpeq 30
1: iload 3
aload 0
getfield java.text.CharacterIteratorFieldDelegate.size:I
if_icmpge 17
2: aload 0
getfield java.text.CharacterIteratorFieldDelegate.size:I
istore 6
start local 6 3: aload 0
getfield java.text.CharacterIteratorFieldDelegate.attributedStrings:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
istore 7
start local 7 4: goto 16
5: StackMap locals: int int
StackMap stack:
aload 0
getfield java.text.CharacterIteratorFieldDelegate.attributedStrings:Ljava/util/ArrayList;
6: iload 7
iinc 7 -1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.text.AttributedString
7: astore 8
start local 8 8: iload 6
aload 8
invokevirtual java.text.AttributedString.length:()I
isub
istore 9
start local 9 9: iconst_0
iload 3
iload 9
isub
invokestatic java.lang.Math.max:(II)I
istore 10
start local 10 10: aload 8
aload 1
aload 2
iload 10
11: iload 4
iload 3
isub
aload 8
invokevirtual java.text.AttributedString.length:()I
iload 10
isub
12: invokestatic java.lang.Math.min:(II)I
13: iload 10
14: iadd
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;II)V
15: iload 9
istore 6
end local 10 end local 9 end local 8 16: StackMap locals:
StackMap stack:
iload 3
iload 6
if_icmplt 5
end local 7 end local 6 17: StackMap locals:
StackMap stack:
aload 0
getfield java.text.CharacterIteratorFieldDelegate.size:I
iload 3
if_icmpge 22
18: aload 0
getfield java.text.CharacterIteratorFieldDelegate.attributedStrings:Ljava/util/ArrayList;
new java.text.AttributedString
dup
19: aload 5
aload 0
getfield java.text.CharacterIteratorFieldDelegate.size:I
iload 3
invokevirtual java.lang.StringBuffer.substring:(II)Ljava/lang/String;
invokespecial java.text.AttributedString.<init>:(Ljava/lang/String;)V
20: invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
21: aload 0
iload 3
putfield java.text.CharacterIteratorFieldDelegate.size:I
22: StackMap locals:
StackMap stack:
aload 0
getfield java.text.CharacterIteratorFieldDelegate.size:I
iload 4
if_icmpge 30
23: iload 3
aload 0
getfield java.text.CharacterIteratorFieldDelegate.size:I
invokestatic java.lang.Math.max:(II)I
istore 6
start local 6 24: new java.text.AttributedString
dup
25: aload 5
iload 6
iload 4
invokevirtual java.lang.StringBuffer.substring:(II)Ljava/lang/String;
26: invokespecial java.text.AttributedString.<init>:(Ljava/lang/String;)V
astore 7
start local 7 27: aload 7
aload 1
aload 2
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;)V
28: aload 0
getfield java.text.CharacterIteratorFieldDelegate.attributedStrings:Ljava/util/ArrayList;
aload 7
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
29: aload 0
iload 4
putfield java.text.CharacterIteratorFieldDelegate.size:I
end local 7 end local 6 30: 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 31 0 this Ljava/text/CharacterIteratorFieldDelegate;
0 31 1 attr Ljava/text/Format$Field;
0 31 2 value Ljava/lang/Object;
0 31 3 start I
0 31 4 end I
0 31 5 buffer Ljava/lang/StringBuffer;
3 17 6 index I
4 17 7 asIndex I
8 16 8 as Ljava/text/AttributedString;
9 16 9 newIndex I
10 16 10 aStart I
24 30 6 aStart I
27 30 7 string Ljava/text/AttributedString;
MethodParameters:
Name Flags
attr
value
start
end
buffer
public void formatted(int, java.text.Format$Field, java.lang.Object, int, int, java.lang.StringBuffer);
descriptor: (ILjava/text/Format$Field;Ljava/lang/Object;IILjava/lang/StringBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 2
aload 3
iload 4
iload 5
aload 6
invokevirtual java.text.CharacterIteratorFieldDelegate.formatted:(Ljava/text/Format$Field;Ljava/lang/Object;IILjava/lang/StringBuffer;)V
1: 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 2 0 this Ljava/text/CharacterIteratorFieldDelegate;
0 2 1 fieldID I
0 2 2 attr Ljava/text/Format$Field;
0 2 3 value Ljava/lang/Object;
0 2 4 start I
0 2 5 end I
0 2 6 buffer Ljava/lang/StringBuffer;
MethodParameters:
Name Flags
fieldID
attr
value
start
end
buffer
public java.text.AttributedCharacterIterator getIterator(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/text/AttributedCharacterIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
aload 0
getfield java.text.CharacterIteratorFieldDelegate.size:I
if_icmple 5
1: aload 0
getfield java.text.CharacterIteratorFieldDelegate.attributedStrings:Ljava/util/ArrayList;
new java.text.AttributedString
dup
2: aload 1
aload 0
getfield java.text.CharacterIteratorFieldDelegate.size:I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial java.text.AttributedString.<init>:(Ljava/lang/String;)V
3: invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
4: aload 0
aload 1
invokevirtual java.lang.String.length:()I
putfield java.text.CharacterIteratorFieldDelegate.size:I
5: StackMap locals:
StackMap stack:
aload 0
getfield java.text.CharacterIteratorFieldDelegate.attributedStrings:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 2
start local 2 6: iload 2
7: anewarray java.text.AttributedCharacterIterator
astore 3
start local 3 8: iconst_0
istore 4
start local 4 9: goto 14
10: StackMap locals: int java.text.AttributedCharacterIterator[] int
StackMap stack:
aload 3
iload 4
aload 0
getfield java.text.CharacterIteratorFieldDelegate.attributedStrings:Ljava/util/ArrayList;
11: iload 4
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.text.AttributedString
invokevirtual java.text.AttributedString.getIterator:()Ljava/text/AttributedCharacterIterator;
12: aastore
13: iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
iload 2
if_icmplt 10
end local 4 15: new java.text.AttributedString
dup
aload 3
invokespecial java.text.AttributedString.<init>:([Ljava/text/AttributedCharacterIterator;)V
invokevirtual java.text.AttributedString.getIterator:()Ljava/text/AttributedCharacterIterator;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljava/text/CharacterIteratorFieldDelegate;
0 16 1 string Ljava/lang/String;
6 16 2 iCount I
8 16 3 iterators [Ljava/text/AttributedCharacterIterator;
9 15 4 counter I
MethodParameters:
Name Flags
string
}
SourceFile: "CharacterIteratorFieldDelegate.java"
InnerClasses:
public Attribute = java.text.AttributedCharacterIterator$Attribute of java.text.AttributedCharacterIterator
public Field = java.text.Format$Field of java.text.Format
abstract FieldDelegate = java.text.Format$FieldDelegate of java.text.Format