public class com.sun.xml.internal.fastinfoset.util.StringArray extends com.sun.xml.internal.fastinfoset.util.ValueArray
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.fastinfoset.util.StringArray
super_class: com.sun.xml.internal.fastinfoset.util.ValueArray
{
public java.lang.String[] _array;
descriptor: [Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
private com.sun.xml.internal.fastinfoset.util.StringArray _readOnlyArray;
descriptor: Lcom/sun/xml/internal/fastinfoset/util/StringArray;
flags: (0x0002) ACC_PRIVATE
private boolean _clear;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(int, int, boolean);
descriptor: (IIZ)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 com.sun.xml.internal.fastinfoset.util.ValueArray.<init>:()V
1: aload 0
iload 1
anewarray java.lang.String
putfield com.sun.xml.internal.fastinfoset.util.StringArray._array:[Ljava/lang/String;
2: aload 0
iload 2
putfield com.sun.xml.internal.fastinfoset.util.StringArray._maximumCapacity:I
3: aload 0
iload 3
putfield com.sun.xml.internal.fastinfoset.util.StringArray._clear:Z
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/fastinfoset/util/StringArray;
0 5 1 initialCapacity I
0 5 2 maximumCapacity I
0 5 3 clear Z
MethodParameters:
Name Flags
initialCapacity
maximumCapacity
clear
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
bipush 10
ldc 2147483647
iconst_0
invokespecial com.sun.xml.internal.fastinfoset.util.StringArray.<init>:(IIZ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/fastinfoset/util/StringArray;
public final void clear();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._clear:Z
ifeq 5
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._readOnlyArraySize:I
istore 1
start local 1 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._array:[Ljava/lang/String;
iload 1
aconst_null
aastore
3: iinc 1 1
StackMap locals:
StackMap stack:
4: iload 1
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._size:I
if_icmplt 2
end local 1 5: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._readOnlyArraySize:I
putfield com.sun.xml.internal.fastinfoset.util.StringArray._size:I
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/xml/internal/fastinfoset/util/StringArray;
1 5 1 i I
public final java.lang.String[] getArray();
descriptor: ()[Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._array:[Ljava/lang/String;
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._array:[Ljava/lang/String;
arraylength
anewarray java.lang.String
astore 1
start local 1 2: aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._array:[Ljava/lang/String;
iconst_0
aload 1
iconst_0
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._array:[Ljava/lang/String;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/fastinfoset/util/StringArray;
2 4 1 clonedArray [Ljava/lang/String;
public final void setReadOnlyArray(com.sun.xml.internal.fastinfoset.util.ValueArray, boolean);
descriptor: (Lcom/sun/xml/internal/fastinfoset/util/ValueArray;Z)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof com.sun.xml.internal.fastinfoset.util.StringArray
ifne 4
1: new java.lang.IllegalArgumentException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
2: ldc "message.illegalClass"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual com.sun.xml.internal.fastinfoset.CommonResourceBundle.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast com.sun.xml.internal.fastinfoset.util.StringArray
iload 2
invokevirtual com.sun.xml.internal.fastinfoset.util.StringArray.setReadOnlyArray:(Lcom/sun/xml/internal/fastinfoset/util/StringArray;Z)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/fastinfoset/util/StringArray;
0 6 1 readOnlyArray Lcom/sun/xml/internal/fastinfoset/util/ValueArray;
0 6 2 clear Z
MethodParameters:
Name Flags
readOnlyArray
clear
public final void setReadOnlyArray(com.sun.xml.internal.fastinfoset.util.StringArray, boolean);
descriptor: (Lcom/sun/xml/internal/fastinfoset/util/StringArray;Z)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 7
1: aload 0
aload 1
putfield com.sun.xml.internal.fastinfoset.util.StringArray._readOnlyArray:Lcom/sun/xml/internal/fastinfoset/util/StringArray;
2: aload 0
aload 1
invokevirtual com.sun.xml.internal.fastinfoset.util.StringArray.getSize:()I
putfield com.sun.xml.internal.fastinfoset.util.StringArray._readOnlyArraySize:I
3: iload 2
ifeq 5
4: aload 0
invokevirtual com.sun.xml.internal.fastinfoset.util.StringArray.clear:()V
5: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual com.sun.xml.internal.fastinfoset.util.StringArray.getCompleteArray:()[Ljava/lang/String;
putfield com.sun.xml.internal.fastinfoset.util.StringArray._array:[Ljava/lang/String;
6: aload 0
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._readOnlyArraySize:I
putfield com.sun.xml.internal.fastinfoset.util.StringArray._size:I
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/xml/internal/fastinfoset/util/StringArray;
0 8 1 readOnlyArray Lcom/sun/xml/internal/fastinfoset/util/StringArray;
0 8 2 clear Z
MethodParameters:
Name Flags
readOnlyArray
clear
public final java.lang.String[] getCompleteArray();
descriptor: ()[Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._readOnlyArray:Lcom/sun/xml/internal/fastinfoset/util/StringArray;
ifnonnull 2
1: aload 0
invokevirtual com.sun.xml.internal.fastinfoset.util.StringArray.getArray:()[Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._readOnlyArray:Lcom/sun/xml/internal/fastinfoset/util/StringArray;
invokevirtual com.sun.xml.internal.fastinfoset.util.StringArray.getCompleteArray:()[Ljava/lang/String;
astore 1
start local 1 3: aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._readOnlyArraySize:I
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._array:[Ljava/lang/String;
arraylength
iadd
anewarray java.lang.String
astore 2
start local 2 4: aload 1
iconst_0
aload 2
iconst_0
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._readOnlyArraySize:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/fastinfoset/util/StringArray;
3 6 1 ra [Ljava/lang/String;
4 6 2 a [Ljava/lang/String;
public final java.lang.String get(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._array:[Ljava/lang/String;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/util/StringArray;
0 1 1 i I
MethodParameters:
Name Flags
i
public final int add(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._size:I
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._array:[Ljava/lang/String;
arraylength
if_icmpne 2
1: aload 0
invokevirtual com.sun.xml.internal.fastinfoset.util.StringArray.resize:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._array:[Ljava/lang/String;
aload 0
dup
getfield com.sun.xml.internal.fastinfoset.util.StringArray._size:I
dup_x1
iconst_1
iadd
putfield com.sun.xml.internal.fastinfoset.util.StringArray._size:I
aload 1
aastore
3: aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._size:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/fastinfoset/util/StringArray;
0 4 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
protected final void resize();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._size:I
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._maximumCapacity:I
if_icmpne 2
1: new com.sun.xml.internal.fastinfoset.util.ValueArrayResourceException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
ldc "message.arrayMaxCapacity"
invokevirtual com.sun.xml.internal.fastinfoset.CommonResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial com.sun.xml.internal.fastinfoset.util.ValueArrayResourceException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._size:I
iconst_3
imul
iconst_2
idiv
iconst_1
iadd
istore 1
start local 1 3: iload 1
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._maximumCapacity:I
if_icmple 5
4: aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._maximumCapacity:I
istore 1
5: StackMap locals: int
StackMap stack:
iload 1
anewarray java.lang.String
astore 2
start local 2 6: aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._array:[Ljava/lang/String;
iconst_0
aload 2
iconst_0
aload 0
getfield com.sun.xml.internal.fastinfoset.util.StringArray._size:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 0
aload 2
putfield com.sun.xml.internal.fastinfoset.util.StringArray._array:[Ljava/lang/String;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/xml/internal/fastinfoset/util/StringArray;
3 9 1 newSize I
6 9 2 newArray [Ljava/lang/String;
}
SourceFile: "StringArray.java"