public final class org.bson.BsonBoolean extends org.bson.BsonValue implements java.lang.Comparable<org.bson.BsonBoolean>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.bson.BsonBoolean
super_class: org.bson.BsonValue
{
private final boolean value;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final org.bson.BsonBoolean TRUE;
descriptor: Lorg/bson/BsonBoolean;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.bson.BsonBoolean FALSE;
descriptor: Lorg/bson/BsonBoolean;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new org.bson.BsonBoolean
dup
iconst_1
invokespecial org.bson.BsonBoolean.<init>:(Z)V
putstatic org.bson.BsonBoolean.TRUE:Lorg/bson/BsonBoolean;
1: new org.bson.BsonBoolean
dup
iconst_0
invokespecial org.bson.BsonBoolean.<init>:(Z)V
putstatic org.bson.BsonBoolean.FALSE:Lorg/bson/BsonBoolean;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.bson.BsonBoolean valueOf(boolean);
descriptor: (Z)Lorg/bson/BsonBoolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ifeq 1
getstatic org.bson.BsonBoolean.TRUE:Lorg/bson/BsonBoolean;
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.bson.BsonBoolean.FALSE:Lorg/bson/BsonBoolean;
StackMap locals:
StackMap stack: org.bson.BsonBoolean
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value Z
MethodParameters:
Name Flags
value final
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bson.BsonValue.<init>:()V
1: aload 0
iload 1
putfield org.bson.BsonBoolean.value:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/BsonBoolean;
0 3 1 value Z
MethodParameters:
Name Flags
value final
public int compareTo(org.bson.BsonBoolean);
descriptor: (Lorg/bson/BsonBoolean;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bson.BsonBoolean.value:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aload 1
getfield org.bson.BsonBoolean.value:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.compareTo:(Ljava/lang/Boolean;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/BsonBoolean;
0 1 1 o Lorg/bson/BsonBoolean;
MethodParameters:
Name Flags
o final
public org.bson.BsonType getBsonType();
descriptor: ()Lorg/bson/BsonType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.bson.BsonType.BOOLEAN:Lorg/bson/BsonType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/BsonBoolean;
public boolean getValue();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.BsonBoolean.value:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/BsonBoolean;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, 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 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.bson.BsonBoolean
astore 2
start local 2 5: aload 0
getfield org.bson.BsonBoolean.value:Z
aload 2
getfield org.bson.BsonBoolean.value:Z
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: org.bson.BsonBoolean
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bson/BsonBoolean;
0 8 1 o Ljava/lang/Object;
5 8 2 that Lorg/bson/BsonBoolean;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.BsonBoolean.value:Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/BsonBoolean;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "BsonBoolean{value="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield org.bson.BsonBoolean.value:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
2: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bson/BsonBoolean;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.bson.BsonBoolean
invokevirtual org.bson.BsonBoolean.compareTo:(Lorg/bson/BsonBoolean;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/bson/BsonValue;Ljava/lang/Comparable<Lorg/bson/BsonBoolean;>;
SourceFile: "BsonBoolean.java"