public final class com.mongodb.client.MongoClients
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.client.MongoClients
super_class: java.lang.Object
{
public static com.mongodb.client.MongoClient create();
descriptor: ()Lcom/mongodb/client/MongoClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.mongodb.ConnectionString
dup
ldc "mongodb://localhost"
invokespecial com.mongodb.ConnectionString.<init>:(Ljava/lang/String;)V
invokestatic com.mongodb.client.MongoClients.create:(Lcom/mongodb/ConnectionString;)Lcom/mongodb/client/MongoClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.mongodb.client.MongoClient create(com.mongodb.MongoClientSettings);
descriptor: (Lcom/mongodb/MongoClientSettings;)Lcom/mongodb/client/MongoClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic com.mongodb.client.MongoClients.create:(Lcom/mongodb/MongoClientSettings;Lcom/mongodb/MongoDriverInformation;)Lcom/mongodb/client/MongoClient;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 settings Lcom/mongodb/MongoClientSettings;
MethodParameters:
Name Flags
settings final
public static com.mongodb.client.MongoClient create(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/client/MongoClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.mongodb.ConnectionString
dup
aload 0
invokespecial com.mongodb.ConnectionString.<init>:(Ljava/lang/String;)V
invokestatic com.mongodb.client.MongoClients.create:(Lcom/mongodb/ConnectionString;)Lcom/mongodb/client/MongoClient;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 connectionString Ljava/lang/String;
MethodParameters:
Name Flags
connectionString final
public static com.mongodb.client.MongoClient create(com.mongodb.ConnectionString);
descriptor: (Lcom/mongodb/ConnectionString;)Lcom/mongodb/client/MongoClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic com.mongodb.client.MongoClients.create:(Lcom/mongodb/ConnectionString;Lcom/mongodb/MongoDriverInformation;)Lcom/mongodb/client/MongoClient;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 connectionString Lcom/mongodb/ConnectionString;
MethodParameters:
Name Flags
connectionString final
public static com.mongodb.client.MongoClient create(com.mongodb.ConnectionString, com.mongodb.MongoDriverInformation);
descriptor: (Lcom/mongodb/ConnectionString;Lcom/mongodb/MongoDriverInformation;)Lcom/mongodb/client/MongoClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.mongodb.MongoClientSettings.builder:()Lcom/mongodb/MongoClientSettings$Builder;
aload 0
invokevirtual com.mongodb.MongoClientSettings$Builder.applyConnectionString:(Lcom/mongodb/ConnectionString;)Lcom/mongodb/MongoClientSettings$Builder;
invokevirtual com.mongodb.MongoClientSettings$Builder.build:()Lcom/mongodb/MongoClientSettings;
aload 1
invokestatic com.mongodb.client.MongoClients.create:(Lcom/mongodb/MongoClientSettings;Lcom/mongodb/MongoDriverInformation;)Lcom/mongodb/client/MongoClient;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 connectionString Lcom/mongodb/ConnectionString;
0 1 1 mongoDriverInformation Lcom/mongodb/MongoDriverInformation;
RuntimeVisibleParameterAnnotations:
0:
1:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
connectionString final
mongoDriverInformation final
public static com.mongodb.client.MongoClient create(com.mongodb.MongoClientSettings, com.mongodb.MongoDriverInformation);
descriptor: (Lcom/mongodb/MongoClientSettings;Lcom/mongodb/MongoDriverInformation;)Lcom/mongodb/client/MongoClient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
invokestatic com.mongodb.MongoDriverInformation.builder:()Lcom/mongodb/MongoDriverInformation$Builder;
goto 2
1: StackMap locals:
StackMap stack:
aload 1
invokestatic com.mongodb.MongoDriverInformation.builder:(Lcom/mongodb/MongoDriverInformation;)Lcom/mongodb/MongoDriverInformation$Builder;
2: StackMap locals:
StackMap stack: com.mongodb.MongoDriverInformation$Builder
astore 2
start local 2 3: new com.mongodb.client.internal.MongoClientImpl
dup
aload 0
aload 2
ldc "sync"
invokevirtual com.mongodb.MongoDriverInformation$Builder.driverName:(Ljava/lang/String;)Lcom/mongodb/MongoDriverInformation$Builder;
invokevirtual com.mongodb.MongoDriverInformation$Builder.build:()Lcom/mongodb/MongoDriverInformation;
invokespecial com.mongodb.client.internal.MongoClientImpl.<init>:(Lcom/mongodb/MongoClientSettings;Lcom/mongodb/MongoDriverInformation;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 settings Lcom/mongodb/MongoClientSettings;
0 4 1 mongoDriverInformation Lcom/mongodb/MongoDriverInformation;
3 4 2 builder Lcom/mongodb/MongoDriverInformation$Builder;
RuntimeVisibleParameterAnnotations:
0:
1:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
settings final
mongoDriverInformation final
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/MongoClients;
}
SourceFile: "MongoClients.java"
InnerClasses:
public final Builder = com.mongodb.MongoClientSettings$Builder of com.mongodb.MongoClientSettings
public final Builder = com.mongodb.MongoDriverInformation$Builder of com.mongodb.MongoDriverInformation