public final class org.bson.BsonType extends java.lang.Enum<org.bson.BsonType>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: org.bson.BsonType
super_class: java.lang.Enum
{
public static final org.bson.BsonType END_OF_DOCUMENT;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType DOUBLE;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType STRING;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType DOCUMENT;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType ARRAY;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType BINARY;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType UNDEFINED;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType OBJECT_ID;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType BOOLEAN;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType DATE_TIME;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType NULL;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType REGULAR_EXPRESSION;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType DB_POINTER;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType JAVASCRIPT;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType SYMBOL;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType JAVASCRIPT_WITH_SCOPE;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType INT32;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType TIMESTAMP;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType INT64;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType DECIMAL128;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType MIN_KEY;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.bson.BsonType MAX_KEY;
descriptor: Lorg/bson/BsonType;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static final org.bson.BsonType[] LOOKUP_TABLE;
descriptor: [Lorg/bson/BsonType;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final int value;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final org.bson.BsonType[] ENUM$VALUES;
descriptor: [Lorg/bson/BsonType;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=0
0: new org.bson.BsonType
dup
ldc "END_OF_DOCUMENT"
iconst_0
1: iconst_0
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
2: new org.bson.BsonType
dup
ldc "DOUBLE"
iconst_1
3: iconst_1
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.DOUBLE:Lorg/bson/BsonType;
4: new org.bson.BsonType
dup
ldc "STRING"
iconst_2
5: iconst_2
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.STRING:Lorg/bson/BsonType;
6: new org.bson.BsonType
dup
ldc "DOCUMENT"
iconst_3
7: iconst_3
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.DOCUMENT:Lorg/bson/BsonType;
8: new org.bson.BsonType
dup
ldc "ARRAY"
iconst_4
9: iconst_4
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.ARRAY:Lorg/bson/BsonType;
10: new org.bson.BsonType
dup
ldc "BINARY"
iconst_5
11: iconst_5
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.BINARY:Lorg/bson/BsonType;
12: new org.bson.BsonType
dup
ldc "UNDEFINED"
bipush 6
13: bipush 6
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.UNDEFINED:Lorg/bson/BsonType;
14: new org.bson.BsonType
dup
ldc "OBJECT_ID"
bipush 7
15: bipush 7
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.OBJECT_ID:Lorg/bson/BsonType;
16: new org.bson.BsonType
dup
ldc "BOOLEAN"
bipush 8
17: bipush 8
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.BOOLEAN:Lorg/bson/BsonType;
18: new org.bson.BsonType
dup
ldc "DATE_TIME"
bipush 9
19: bipush 9
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.DATE_TIME:Lorg/bson/BsonType;
20: new org.bson.BsonType
dup
ldc "NULL"
bipush 10
21: bipush 10
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.NULL:Lorg/bson/BsonType;
22: new org.bson.BsonType
dup
ldc "REGULAR_EXPRESSION"
bipush 11
23: bipush 11
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.REGULAR_EXPRESSION:Lorg/bson/BsonType;
24: new org.bson.BsonType
dup
ldc "DB_POINTER"
bipush 12
25: bipush 12
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.DB_POINTER:Lorg/bson/BsonType;
26: new org.bson.BsonType
dup
ldc "JAVASCRIPT"
bipush 13
27: bipush 13
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.JAVASCRIPT:Lorg/bson/BsonType;
28: new org.bson.BsonType
dup
ldc "SYMBOL"
bipush 14
29: bipush 14
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.SYMBOL:Lorg/bson/BsonType;
30: new org.bson.BsonType
dup
ldc "JAVASCRIPT_WITH_SCOPE"
bipush 15
31: bipush 15
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.JAVASCRIPT_WITH_SCOPE:Lorg/bson/BsonType;
32: new org.bson.BsonType
dup
ldc "INT32"
bipush 16
33: bipush 16
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.INT32:Lorg/bson/BsonType;
34: new org.bson.BsonType
dup
ldc "TIMESTAMP"
bipush 17
35: bipush 17
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.TIMESTAMP:Lorg/bson/BsonType;
36: new org.bson.BsonType
dup
ldc "INT64"
bipush 18
37: bipush 18
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.INT64:Lorg/bson/BsonType;
38: new org.bson.BsonType
dup
ldc "DECIMAL128"
bipush 19
39: bipush 19
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.DECIMAL128:Lorg/bson/BsonType;
40: new org.bson.BsonType
dup
ldc "MIN_KEY"
bipush 20
41: sipush 255
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.MIN_KEY:Lorg/bson/BsonType;
42: new org.bson.BsonType
dup
ldc "MAX_KEY"
bipush 21
43: bipush 127
invokespecial org.bson.BsonType.<init>:(Ljava/lang/String;II)V
putstatic org.bson.BsonType.MAX_KEY:Lorg/bson/BsonType;
bipush 22
anewarray org.bson.BsonType
dup
iconst_0
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
aastore
dup
iconst_1
getstatic org.bson.BsonType.DOUBLE:Lorg/bson/BsonType;
aastore
dup
iconst_2
getstatic org.bson.BsonType.STRING:Lorg/bson/BsonType;
aastore
dup
iconst_3
getstatic org.bson.BsonType.DOCUMENT:Lorg/bson/BsonType;
aastore
dup
iconst_4
getstatic org.bson.BsonType.ARRAY:Lorg/bson/BsonType;
aastore
dup
iconst_5
getstatic org.bson.BsonType.BINARY:Lorg/bson/BsonType;
aastore
dup
bipush 6
getstatic org.bson.BsonType.UNDEFINED:Lorg/bson/BsonType;
aastore
dup
bipush 7
getstatic org.bson.BsonType.OBJECT_ID:Lorg/bson/BsonType;
aastore
dup
bipush 8
getstatic org.bson.BsonType.BOOLEAN:Lorg/bson/BsonType;
aastore
dup
bipush 9
getstatic org.bson.BsonType.DATE_TIME:Lorg/bson/BsonType;
aastore
dup
bipush 10
getstatic org.bson.BsonType.NULL:Lorg/bson/BsonType;
aastore
dup
bipush 11
getstatic org.bson.BsonType.REGULAR_EXPRESSION:Lorg/bson/BsonType;
aastore
dup
bipush 12
getstatic org.bson.BsonType.DB_POINTER:Lorg/bson/BsonType;
aastore
dup
bipush 13
getstatic org.bson.BsonType.JAVASCRIPT:Lorg/bson/BsonType;
aastore
dup
bipush 14
getstatic org.bson.BsonType.SYMBOL:Lorg/bson/BsonType;
aastore
dup
bipush 15
getstatic org.bson.BsonType.JAVASCRIPT_WITH_SCOPE:Lorg/bson/BsonType;
aastore
dup
bipush 16
getstatic org.bson.BsonType.INT32:Lorg/bson/BsonType;
aastore
dup
bipush 17
getstatic org.bson.BsonType.TIMESTAMP:Lorg/bson/BsonType;
aastore
dup
bipush 18
getstatic org.bson.BsonType.INT64:Lorg/bson/BsonType;
aastore
dup
bipush 19
getstatic org.bson.BsonType.DECIMAL128:Lorg/bson/BsonType;
aastore
dup
bipush 20
getstatic org.bson.BsonType.MIN_KEY:Lorg/bson/BsonType;
aastore
dup
bipush 21
getstatic org.bson.BsonType.MAX_KEY:Lorg/bson/BsonType;
aastore
putstatic org.bson.BsonType.ENUM$VALUES:[Lorg/bson/BsonType;
44: getstatic org.bson.BsonType.MIN_KEY:Lorg/bson/BsonType;
invokevirtual org.bson.BsonType.getValue:()I
iconst_1
iadd
anewarray org.bson.BsonType
putstatic org.bson.BsonType.LOOKUP_TABLE:[Lorg/bson/BsonType;
45: invokestatic org.bson.BsonType.values:()[Lorg/bson/BsonType;
dup
astore 3
arraylength
istore 2
iconst_0
istore 1
goto 49
StackMap locals: top int int org.bson.BsonType[]
StackMap stack:
46: aload 3
iload 1
aaload
astore 0
start local 0 47: getstatic org.bson.BsonType.LOOKUP_TABLE:[Lorg/bson/BsonType;
aload 0
invokevirtual org.bson.BsonType.getValue:()I
aload 0
aastore
end local 0 48: iinc 1 1
StackMap locals:
StackMap stack:
49: iload 1
iload 2
if_icmplt 46
50: return
LocalVariableTable:
Start End Slot Name Signature
47 48 0 cur Lorg/bson/BsonType;
private void <init>(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 3 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
1: aload 0
iload 3
putfield org.bson.BsonType.value:I
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/BsonType;
0 3 3 value I
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
value final
public int getValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.BsonType.value:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/BsonType;
public static org.bson.BsonType findByValue(int);
descriptor: (I)Lorg/bson/BsonType;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.bson.BsonType.LOOKUP_TABLE:[Lorg/bson/BsonType;
iload 0
sipush 255
iand
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value I
MethodParameters:
Name Flags
value final
public boolean isContainer();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.bson.BsonType.DOCUMENT:Lorg/bson/BsonType;
if_acmpeq 1
aload 0
getstatic org.bson.BsonType.ARRAY:Lorg/bson/BsonType;
if_acmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/BsonType;
public static org.bson.BsonType[] values();
descriptor: ()[Lorg/bson/BsonType;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.bson.BsonType.ENUM$VALUES:[Lorg/bson/BsonType;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.bson.BsonType
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 org.bson.BsonType valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bson/BsonType;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/bson/BsonType;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.bson.BsonType
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lorg/bson/BsonType;>;
SourceFile: "BsonType.java"