public final class com.ctc.wstx.util.DataUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.util.DataUtil
super_class: java.lang.Object
{
static final char[] EMPTY_CHAR_ARRAY;
descriptor: [C
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.Long MAX_LONG;
descriptor: Ljava/lang/Long;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.String NO_TYPE;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "Illegal to pass null; can not determine component type"
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_0
newarray 5
putstatic com.ctc.wstx.util.DataUtil.EMPTY_CHAR_ARRAY:[C
1: ldc 9223372036854775807
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
putstatic com.ctc.wstx.util.DataUtil.MAX_LONG:Ljava/lang/Long;
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/DataUtil;
public static char[] getEmptyCharArray();
descriptor: ()[C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.ctc.wstx.util.DataUtil.EMPTY_CHAR_ARRAY:[C
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.Integer Integer(int);
descriptor: (I)Ljava/lang/Integer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i
public static <T> java.util.Iterator<T> singletonIterator(T);
descriptor: (Ljava/lang/Object;)Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.codehaus.stax2.ri.SingletonIterator.create:(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 item TT;
Signature: <T:Ljava/lang/Object;>(TT;)Ljava/util/Iterator<TT;>;
MethodParameters:
Name Flags
item
public static <T> java.util.Iterator<T> emptyIterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.ctc.wstx.util.DataUtil$EI.getInstance:()Ljava/util/Iterator;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <T:Ljava/lang/Object;>()Ljava/util/Iterator<TT;>;
public static <T> boolean anyValuesInCommon(java.util.Collection<T>, java.util.Collection<T>);
descriptor: (Ljava/util/Collection;Ljava/util/Collection;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.util.Collection.size:()I
aload 1
invokeinterface java.util.Collection.size:()I
if_icmple 4
1: aload 0
astore 2
start local 2 2: aload 1
astore 0
3: aload 2
astore 1
end local 2 4: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
start local 2 5: goto 8
6: StackMap locals: java.util.Iterator
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 c1 Ljava/util/Collection<TT;>;
0 10 1 c2 Ljava/util/Collection<TT;>;
2 4 2 tmp Ljava/util/Collection<TT;>;
5 10 2 it Ljava/util/Iterator<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;Ljava/util/Collection<TT;>;)Z
MethodParameters:
Name Flags
c1
c2
public static java.lang.Object growArrayBy50Pct(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Illegal to pass null; can not determine component type"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
astore 1
start local 1 3: aload 0
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 2
start local 2 4: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
iload 2
iload 2
iconst_1
ishr
iadd
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
astore 0
5: aload 1
iconst_0
aload 0
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 arr Ljava/lang/Object;
3 7 1 old Ljava/lang/Object;
4 7 2 len I
MethodParameters:
Name Flags
arr
public static java.lang.Object growArrayToAtLeast(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Illegal to pass null; can not determine component type"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
astore 2
start local 2 3: aload 0
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 3
start local 3 4: iload 3
iload 3
iconst_1
iadd
iconst_1
ishr
iadd
istore 4
start local 4 5: iload 4
iload 1
if_icmpge 7
6: iload 1
istore 4
7: StackMap locals: java.lang.Object int int
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
iload 4
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
astore 0
8: aload 2
iconst_0
aload 0
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 arr Ljava/lang/Object;
0 10 1 minLen I
3 10 2 old Ljava/lang/Object;
4 10 3 oldLen I
5 10 4 newLen I
MethodParameters:
Name Flags
arr
minLen
public static java.lang.Object growArrayToAtMost(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Illegal to pass null; can not determine component type"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
astore 2
start local 2 3: aload 0
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 3
start local 3 4: iload 3
iload 3
iconst_1
iadd
iconst_1
ishr
iadd
istore 4
start local 4 5: iload 4
iload 1
if_icmple 7
6: iload 1
istore 4
7: StackMap locals: java.lang.Object int int
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
iload 4
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
astore 0
8: aload 2
iconst_0
aload 0
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 arr Ljava/lang/Object;
0 10 1 maxLen I
3 10 2 old Ljava/lang/Object;
4 10 3 oldLen I
5 10 4 newLen I
MethodParameters:
Name Flags
arr
maxLen
public static java.lang.String[] growArrayBy(java.lang.String[], int);
descriptor: ([Ljava/lang/String;I)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: iload 1
anewarray java.lang.String
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
arraylength
iload 1
iadd
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 arr [Ljava/lang/String;
0 3 1 more I
MethodParameters:
Name Flags
arr
more
public static int[] growArrayBy(int[], int);
descriptor: ([II)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: iload 1
newarray 10
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
arraylength
iload 1
iadd
invokestatic java.util.Arrays.copyOf:([II)[I
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 arr [I
0 3 1 more I
MethodParameters:
Name Flags
arr
more
}
SourceFile: "DataUtil.java"
NestMembers:
com.ctc.wstx.util.DataUtil$EI
InnerClasses:
private final EI = com.ctc.wstx.util.DataUtil$EI of com.ctc.wstx.util.DataUtil