final class com.google.common.primitives.Booleans$BooleanComparator extends java.lang.Enum<com.google.common.primitives.Booleans$BooleanComparator> implements java.util.Comparator<java.lang.Boolean>
minor version: 0
major version: 59
flags: flags: (0x4030) ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: com.google.common.primitives.Booleans$BooleanComparator
super_class: java.lang.Enum
{
public static final com.google.common.primitives.Booleans$BooleanComparator TRUE_FIRST;
descriptor: Lcom/google/common/primitives/Booleans$BooleanComparator;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.google.common.primitives.Booleans$BooleanComparator FALSE_FIRST;
descriptor: Lcom/google/common/primitives/Booleans$BooleanComparator;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private final int trueValue;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String toString;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final com.google.common.primitives.Booleans$BooleanComparator[] ENUM$VALUES;
descriptor: [Lcom/google/common/primitives/Booleans$BooleanComparator;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new com.google.common.primitives.Booleans$BooleanComparator
dup
ldc "TRUE_FIRST"
iconst_0
iconst_1
ldc "Booleans.trueFirst()"
invokespecial com.google.common.primitives.Booleans$BooleanComparator.<init>:(Ljava/lang/String;IILjava/lang/String;)V
putstatic com.google.common.primitives.Booleans$BooleanComparator.TRUE_FIRST:Lcom/google/common/primitives/Booleans$BooleanComparator;
1: new com.google.common.primitives.Booleans$BooleanComparator
dup
ldc "FALSE_FIRST"
iconst_1
iconst_m1
ldc "Booleans.falseFirst()"
invokespecial com.google.common.primitives.Booleans$BooleanComparator.<init>:(Ljava/lang/String;IILjava/lang/String;)V
putstatic com.google.common.primitives.Booleans$BooleanComparator.FALSE_FIRST:Lcom/google/common/primitives/Booleans$BooleanComparator;
2: iconst_2
anewarray com.google.common.primitives.Booleans$BooleanComparator
dup
iconst_0
getstatic com.google.common.primitives.Booleans$BooleanComparator.TRUE_FIRST:Lcom/google/common/primitives/Booleans$BooleanComparator;
aastore
dup
iconst_1
getstatic com.google.common.primitives.Booleans$BooleanComparator.FALSE_FIRST:Lcom/google/common/primitives/Booleans$BooleanComparator;
aastore
putstatic com.google.common.primitives.Booleans$BooleanComparator.ENUM$VALUES:[Lcom/google/common/primitives/Booleans$BooleanComparator;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int, int, java.lang.String);
descriptor: (Ljava/lang/String;IILjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=5
start local 0 start local 3 start local 4 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
1: aload 0
iload 3
putfield com.google.common.primitives.Booleans$BooleanComparator.trueValue:I
2: aload 0
aload 4
putfield com.google.common.primitives.Booleans$BooleanComparator.toString:Ljava/lang/String;
3: return
end local 4 end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/primitives/Booleans$BooleanComparator;
0 4 3 trueValue I
0 4 4 toString Ljava/lang/String;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
trueValue
toString
public int compare(java.lang.Boolean, java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;Ljava/lang/Boolean;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 1
aload 0
getfield com.google.common.primitives.Booleans$BooleanComparator.trueValue:I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 3
start local 3 3: aload 2
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 4
aload 0
getfield com.google.common.primitives.Booleans$BooleanComparator.trueValue:I
goto 5
StackMap locals: int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 4
start local 4 6: iload 4
iload 3
isub
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/primitives/Booleans$BooleanComparator;
0 7 1 a Ljava/lang/Boolean;
0 7 2 b Ljava/lang/Boolean;
3 7 3 aVal I
6 7 4 bVal I
MethodParameters:
Name Flags
a
b
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.primitives.Booleans$BooleanComparator.toString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/primitives/Booleans$BooleanComparator;
public static com.google.common.primitives.Booleans$BooleanComparator[] values();
descriptor: ()[Lcom/google/common/primitives/Booleans$BooleanComparator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic com.google.common.primitives.Booleans$BooleanComparator.ENUM$VALUES:[Lcom/google/common/primitives/Booleans$BooleanComparator;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray com.google.common.primitives.Booleans$BooleanComparator
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.google.common.primitives.Booleans$BooleanComparator valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/google/common/primitives/Booleans$BooleanComparator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lcom/google/common/primitives/Booleans$BooleanComparator;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast com.google.common.primitives.Booleans$BooleanComparator
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.lang.Boolean
aload 2
checkcast java.lang.Boolean
invokevirtual com.google.common.primitives.Booleans$BooleanComparator.compare:(Ljava/lang/Boolean;Ljava/lang/Boolean;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Enum<Lcom/google/common/primitives/Booleans$BooleanComparator;>;Ljava/util/Comparator<Ljava/lang/Boolean;>;
SourceFile: "Booleans.java"
NestHost: com.google.common.primitives.Booleans
InnerClasses:
private final BooleanComparator = com.google.common.primitives.Booleans$BooleanComparator of com.google.common.primitives.Booleans