public class org.apache.commons.lang3.ObjectUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.lang3.ObjectUtils
super_class: java.lang.Object
{
public static final org.apache.commons.lang3.ObjectUtils$Null NULL;
descriptor: Lorg/apache/commons/lang3/ObjectUtils$Null;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.apache.commons.lang3.ObjectUtils$Null
dup
invokespecial org.apache.commons.lang3.ObjectUtils$Null.<init>:()V
putstatic org.apache.commons.lang3.ObjectUtils.NULL:Lorg/apache/commons/lang3/ObjectUtils$Null;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/lang3/ObjectUtils;
public static <T> T defaultIfNull(T, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 0
goto 2
StackMap locals:
StackMap stack:
1: aload 1
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 object TT;
0 3 1 defaultValue TT;
Signature: <T:Ljava/lang/Object;>(TT;TT;)TT;
MethodParameters:
Name Flags
object final
defaultValue final
public static <T> T firstNonNull();
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
ifnull 7
1: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 6
StackMap locals: java.lang.Object[] top int int java.lang.Object[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
areturn
end local 1 5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 3
if_icmplt 2
7: StackMap locals: java.lang.Object[]
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 values [Ljava/lang/Object;
3 5 1 val TT;
Signature: <T:Ljava/lang/Object;>([TT;)TT;
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
values final
public static boolean anyNotNull(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Z
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.lang3.ObjectUtils.firstNonNull:([Ljava/lang/Object;)Ljava/lang/Object;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 values [Ljava/lang/Object;
MethodParameters:
Name Flags
values final
public static boolean allNotNull(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Z
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: java.lang.Object[] top int int java.lang.Object[]
StackMap stack:
3: aload 4
iload 2
aaload
astore 1
start local 1 4: aload 1
ifnonnull 6
5: iconst_0
ireturn
end local 1 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 3
if_icmplt 3
8: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 values [Ljava/lang/Object;
4 6 1 val Ljava/lang/Object;
MethodParameters:
Name Flags
values final
public static boolean equals(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, 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 0
ifnull 3
aload 1
ifnonnull 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 object1 Ljava/lang/Object;
0 5 1 object2 Ljava/lang/Object;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
object1 final
object2 final
public static boolean notEqual(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.commons.lang3.ObjectUtils.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 object1 Ljava/lang/Object;
0 3 1 object2 Ljava/lang/Object;
MethodParameters:
Name Flags
object1 final
object2 final
public static int hashCode(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual java.lang.Object.hashCode:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
obj final
public static int hashCodeMulti(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)I
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=7, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: aload 0
ifnull 8
2: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: java.lang.Object[] int top int int java.lang.Object[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 2
invokestatic org.apache.commons.lang3.ObjectUtils.hashCode:(Ljava/lang/Object;)I
istore 6
start local 6 5: iload 1
bipush 31
imul
iload 6
iadd
istore 1
end local 6 end local 2 6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 3
8: StackMap locals: java.lang.Object[] int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 objects [Ljava/lang/Object;
1 9 1 hash I
4 6 2 object Ljava/lang/Object;
5 6 6 tmpHash I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
objects final
public static java.lang.String identityToString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 1
aload 0
invokestatic org.apache.commons.lang3.ObjectUtils.identityToString:(Ljava/lang/StringBuilder;Ljava/lang/Object;)V
4: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 object Ljava/lang/Object;
3 5 1 builder Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
object final
public static void identityToString(java.lang.Appendable, java.lang.Object);
descriptor: (Ljava/lang/Appendable;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Cannot get the toString of a null identity"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface java.lang.Appendable.append:(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
2: bipush 64
invokeinterface java.lang.Appendable.append:(C)Ljava/lang/Appendable;
3: aload 1
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokeinterface java.lang.Appendable.append:(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 appendable Ljava/lang/Appendable;
0 5 1 object Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
appendable final
object final
public static void identityToString(org.apache.commons.lang3.text.StrBuilder, java.lang.Object);
descriptor: (Lorg/apache/commons/lang3/text/StrBuilder;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Cannot get the toString of a null identity"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual org.apache.commons.lang3.text.StrBuilder.append:(Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder;
2: bipush 64
invokevirtual org.apache.commons.lang3.text.StrBuilder.append:(C)Lorg/apache/commons/lang3/text/StrBuilder;
3: aload 1
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual org.apache.commons.lang3.text.StrBuilder.append:(Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 builder Lorg/apache/commons/lang3/text/StrBuilder;
0 5 1 object Ljava/lang/Object;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
builder final
object final
public static void identityToString(java.lang.StringBuffer, java.lang.Object);
descriptor: (Ljava/lang/StringBuffer;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Cannot get the toString of a null identity"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
2: bipush 64
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
3: aload 1
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 buffer Ljava/lang/StringBuffer;
0 5 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
buffer final
object final
public static void identityToString(java.lang.StringBuilder, java.lang.Object);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Cannot get the toString of a null identity"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: bipush 64
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: aload 1
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 builder Ljava/lang/StringBuilder;
0 5 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
builder final
object final
public static java.lang.String toString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
ldc ""
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
obj final
public static java.lang.String toString(java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 obj Ljava/lang/Object;
0 3 1 nullStr Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
obj final
nullStr final
public static <T extends java.lang.Comparable<? super T>> T min();
descriptor: ([Ljava/lang/Comparable;)Ljava/lang/Comparable;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
ifnull 8
2: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: java.lang.Comparable[] java.lang.Comparable top int int java.lang.Comparable[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 2
aload 1
iconst_1
invokestatic org.apache.commons.lang3.ObjectUtils.compare:(Ljava/lang/Comparable;Ljava/lang/Comparable;Z)I
ifge 6
5: aload 2
astore 1
end local 2 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 3
8: StackMap locals: java.lang.Comparable[] java.lang.Comparable
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 values [Ljava/lang/Comparable;
1 9 1 result TT;
4 6 2 value TT;
Signature: <T::Ljava/lang/Comparable<-TT;>;>([TT;)TT;
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
values final
public static <T extends java.lang.Comparable<? super T>> T max();
descriptor: ([Ljava/lang/Comparable;)Ljava/lang/Comparable;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
ifnull 8
2: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: java.lang.Comparable[] java.lang.Comparable top int int java.lang.Comparable[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 2
aload 1
iconst_0
invokestatic org.apache.commons.lang3.ObjectUtils.compare:(Ljava/lang/Comparable;Ljava/lang/Comparable;Z)I
ifle 6
5: aload 2
astore 1
end local 2 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 3
8: StackMap locals: java.lang.Comparable[] java.lang.Comparable
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 values [Ljava/lang/Comparable;
1 9 1 result TT;
4 6 2 value TT;
Signature: <T::Ljava/lang/Comparable<-TT;>;>([TT;)TT;
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
values final
public static <T extends java.lang.Comparable<? super T>> int compare(T, );
descriptor: (Ljava/lang/Comparable;Ljava/lang/Comparable;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic org.apache.commons.lang3.ObjectUtils.compare:(Ljava/lang/Comparable;Ljava/lang/Comparable;Z)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c1 TT;
0 1 1 c2 TT;
Signature: <T::Ljava/lang/Comparable<-TT;>;>(TT;TT;)I
MethodParameters:
Name Flags
c1 final
c2 final
public static <T extends java.lang.Comparable<? super T>> int compare(T, T, );
descriptor: (Ljava/lang/Comparable;Ljava/lang/Comparable;Z)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
if_acmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
ifnonnull 6
3: iload 2
ifeq 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_m1
StackMap locals:
StackMap stack: int
5: ireturn
6: StackMap locals:
StackMap stack:
aload 1
ifnonnull 10
7: iload 2
ifeq 8
iconst_m1
goto 9
StackMap locals:
StackMap stack:
8: iconst_1
StackMap locals:
StackMap stack: int
9: ireturn
10: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 c1 TT;
0 11 1 c2 TT;
0 11 2 nullGreater Z
Signature: <T::Ljava/lang/Comparable<-TT;>;>(TT;TT;Z)I
MethodParameters:
Name Flags
c1 final
c2 final
nullGreater final
public static <T extends java.lang.Comparable<? super T>> T median();
descriptor: ([Ljava/lang/Comparable;)Ljava/lang/Comparable;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.lang3.Validate.notEmpty:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
1: aload 0
invokestatic org.apache.commons.lang3.Validate.noNullElements:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
2: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
astore 1
start local 1 3: aload 1
aload 0
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
4: aload 1
invokevirtual java.util.TreeSet.toArray:()[Ljava/lang/Object;
aload 1
invokevirtual java.util.TreeSet.size:()I
iconst_1
isub
iconst_2
idiv
aaload
checkcast java.lang.Comparable
astore 2
start local 2 5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 items [Ljava/lang/Comparable;
3 6 1 sort Ljava/util/TreeSet<TT;>;
5 6 2 result TT;
Signature: <T::Ljava/lang/Comparable<-TT;>;>([TT;)TT;
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
items final
public static <T> T median(java.util.Comparator<T>, );
descriptor: (Ljava/util/Comparator;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "null/empty items"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notEmpty:([Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)[Ljava/lang/Object;
pop
1: aload 1
invokestatic org.apache.commons.lang3.Validate.noNullElements:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
2: aload 0
ldc "null comparator"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
3: new java.util.TreeSet
dup
aload 0
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
astore 2
start local 2 4: aload 2
aload 1
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
5: aload 2
invokevirtual java.util.TreeSet.toArray:()[Ljava/lang/Object;
aload 2
invokevirtual java.util.TreeSet.size:()I
iconst_1
isub
iconst_2
idiv
aaload
astore 3
start local 3 6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 comparator Ljava/util/Comparator<TT;>;
0 7 1 items [Ljava/lang/Object;
4 7 2 sort Ljava/util/TreeSet<TT;>;
6 7 3 result TT;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Comparator<TT;>;[TT;)TT;
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
comparator final
items final
public static <T> T mode();
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.lang3.ArrayUtils.isNotEmpty:([Ljava/lang/Object;)Z
ifeq 24
1: new java.util.HashMap
dup
aload 0
arraylength
invokespecial java.util.HashMap.<init>:(I)V
astore 1
start local 1 2: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 10
StackMap locals: java.lang.Object[] java.util.HashMap top int int java.lang.Object[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 1
aload 2
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.commons.lang3.mutable.MutableInt
astore 6
start local 6 5: aload 6
ifnonnull 8
6: aload 1
aload 2
new org.apache.commons.lang3.mutable.MutableInt
dup
iconst_1
invokespecial org.apache.commons.lang3.mutable.MutableInt.<init>:(I)V
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: goto 9
8: StackMap locals: java.lang.Object[] java.util.HashMap java.lang.Object int int java.lang.Object[] org.apache.commons.lang3.mutable.MutableInt
StackMap stack:
aload 6
invokevirtual org.apache.commons.lang3.mutable.MutableInt.increment:()V
end local 6 end local 2 9: StackMap locals: java.lang.Object[] java.util.HashMap top int int java.lang.Object[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmplt 3
11: aconst_null
astore 2
start local 2 12: iconst_0
istore 3
start local 3 13: aload 1
invokevirtual java.util.HashMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 22
StackMap locals: java.lang.Object[] java.util.HashMap java.lang.Object int top java.util.Iterator
StackMap stack:
14: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 15: aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.commons.lang3.mutable.MutableInt
invokevirtual org.apache.commons.lang3.mutable.MutableInt.intValue:()I
istore 6
start local 6 16: iload 6
iload 3
if_icmpne 19
17: aconst_null
astore 2
18: goto 22
StackMap locals: java.lang.Object[] java.util.HashMap java.lang.Object int java.util.Map$Entry java.util.Iterator int
StackMap stack:
19: iload 6
iload 3
if_icmple 22
20: iload 6
istore 3
21: aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
astore 2
end local 6 end local 4 22: StackMap locals: java.lang.Object[] java.util.HashMap java.lang.Object int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
23: aload 2
areturn
end local 3 end local 2 end local 1 24: StackMap locals: java.lang.Object[]
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 items [Ljava/lang/Object;
2 24 1 occurrences Ljava/util/HashMap<TT;Lorg/apache/commons/lang3/mutable/MutableInt;>;
4 9 2 t TT;
5 9 6 count Lorg/apache/commons/lang3/mutable/MutableInt;
12 24 2 result TT;
13 24 3 max I
15 22 4 e Ljava/util/Map$Entry<TT;Lorg/apache/commons/lang3/mutable/MutableInt;>;
16 22 6 cmp I
Signature: <T:Ljava/lang/Object;>([TT;)TT;
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
items final
public static <T> T clone();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
instanceof java.lang.Cloneable
ifeq 30
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 12
2: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 2
start local 2 3: aload 2
invokevirtual java.lang.Class.isPrimitive:()Z
ifne 6
4: aload 0
checkcast java.lang.Object[]
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
astore 1
start local 1 5: goto 28
end local 1 6: StackMap locals: java.lang.Object top java.lang.Class
StackMap stack:
aload 0
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 3
start local 3 7: aload 2
iload 3
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
astore 1
start local 1 8: goto 10
9: StackMap locals: java.lang.Object java.lang.Object java.lang.Class int
StackMap stack:
aload 1
iload 3
aload 0
iload 3
invokestatic java.lang.reflect.Array.get:(Ljava/lang/Object;I)Ljava/lang/Object;
invokestatic java.lang.reflect.Array.set:(Ljava/lang/Object;ILjava/lang/Object;)V
10: StackMap locals:
StackMap stack:
iload 3
iinc 3 -1
ifgt 9
end local 3 end local 2 11: goto 28
end local 1 12: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "clone"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 2
start local 2 13: aload 2
aload 0
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 1
end local 2 start local 1 14: goto 28
end local 1 StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
15: astore 2
start local 2 16: new org.apache.commons.lang3.exception.CloneFailedException
dup
new java.lang.StringBuilder
dup
ldc "Cloneable type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
17: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: ldc " has no clone method"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
19: invokespecial org.apache.commons.lang3.exception.CloneFailedException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 20: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 2
start local 2 21: new org.apache.commons.lang3.exception.CloneFailedException
dup
new java.lang.StringBuilder
dup
ldc "Cannot clone Cloneable type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
22: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
23: invokespecial org.apache.commons.lang3.exception.CloneFailedException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 24: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 2
start local 2 25: new org.apache.commons.lang3.exception.CloneFailedException
dup
new java.lang.StringBuilder
dup
ldc "Exception cloning Cloneable type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
26: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
27: invokespecial org.apache.commons.lang3.exception.CloneFailedException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 start local 1 28: StackMap locals: java.lang.Object
StackMap stack:
aload 1
astore 2
start local 2 29: aload 2
areturn
end local 2 end local 1 30: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 obj TT;
5 6 1 result Ljava/lang/Object;
8 12 1 result Ljava/lang/Object;
14 15 1 result Ljava/lang/Object;
28 30 1 result Ljava/lang/Object;
3 11 2 componentType Ljava/lang/Class<*>;
7 11 3 length I
13 14 2 clone Ljava/lang/reflect/Method;
16 20 2 e Ljava/lang/NoSuchMethodException;
21 24 2 e Ljava/lang/IllegalAccessException;
25 28 2 e Ljava/lang/reflect/InvocationTargetException;
29 30 2 checked TT;
Exception table:
from to target type
12 14 15 Class java.lang.NoSuchMethodException
12 14 20 Class java.lang.IllegalAccessException
12 14 24 Class java.lang.reflect.InvocationTargetException
Signature: <T:Ljava/lang/Object;>(TT;)TT;
MethodParameters:
Name Flags
obj final
public static <T> T cloneIfPossible();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.lang3.ObjectUtils.clone:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 2
aload 0
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: aload 1
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 obj TT;
1 4 1 clone TT;
Signature: <T:Ljava/lang/Object;>(TT;)TT;
MethodParameters:
Name Flags
obj final
public static boolean CONST(boolean);
descriptor: (Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v Z
MethodParameters:
Name Flags
v final
public static byte CONST(byte);
descriptor: (B)B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v B
MethodParameters:
Name Flags
v final
public static byte CONST_BYTE(int);
descriptor: (I)B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
bipush -128
if_icmplt 1
iload 0
bipush 127
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Supplied value must be a valid byte literal between -128 and 127: ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 0
i2b
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 v I
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
v final
public static char CONST(char);
descriptor: (C)C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v C
MethodParameters:
Name Flags
v final
public static short CONST(short);
descriptor: (S)S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v S
MethodParameters:
Name Flags
v final
public static short CONST_SHORT(int);
descriptor: (I)S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
sipush -32768
if_icmplt 1
iload 0
sipush 32767
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Supplied value must be a valid byte literal between -32768 and 32767: ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 0
i2s
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 v I
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
v final
public static int CONST(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v I
MethodParameters:
Name Flags
v final
public static long CONST(long);
descriptor: (J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: lload 0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v J
MethodParameters:
Name Flags
v final
public static float CONST(float);
descriptor: (F)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: fload 0
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v F
MethodParameters:
Name Flags
v final
public static double CONST(double);
descriptor: (D)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: dload 0
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v D
MethodParameters:
Name Flags
v final
public static <T> T CONST();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v TT;
Signature: <T:Ljava/lang/Object;>(TT;)TT;
MethodParameters:
Name Flags
v final
}
SourceFile: "ObjectUtils.java"
NestMembers:
org.apache.commons.lang3.ObjectUtils$Null
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public Null = org.apache.commons.lang3.ObjectUtils$Null of org.apache.commons.lang3.ObjectUtils