public class com.mongodb.internal.connection.MongoCredentialWithCache
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.internal.connection.MongoCredentialWithCache
super_class: java.lang.Object
{
private final com.mongodb.MongoCredential credential;
descriptor: Lcom/mongodb/MongoCredential;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.internal.connection.MongoCredentialWithCache$Cache cache;
descriptor: Lcom/mongodb/internal/connection/MongoCredentialWithCache$Cache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static java.util.List<com.mongodb.internal.connection.MongoCredentialWithCache> wrapCredentialList(java.util.List<com.mongodb.MongoCredential>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.List java.util.ArrayList top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.mongodb.MongoCredential
astore 2
start local 2 3: aload 1
new com.mongodb.internal.connection.MongoCredentialWithCache
dup
aload 2
invokespecial com.mongodb.internal.connection.MongoCredentialWithCache.<init>:(Lcom/mongodb/MongoCredential;)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 credentialList Ljava/util/List<Lcom/mongodb/MongoCredential;>;
1 6 1 credentialListWithCache Ljava/util/ArrayList<Lcom/mongodb/internal/connection/MongoCredentialWithCache;>;
3 4 2 credential Lcom/mongodb/MongoCredential;
Signature: (Ljava/util/List<Lcom/mongodb/MongoCredential;>;)Ljava/util/List<Lcom/mongodb/internal/connection/MongoCredentialWithCache;>;
MethodParameters:
Name Flags
credentialList final
public void <init>(com.mongodb.MongoCredential);
descriptor: (Lcom/mongodb/MongoCredential;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial com.mongodb.internal.connection.MongoCredentialWithCache.<init>:(Lcom/mongodb/MongoCredential;Lcom/mongodb/internal/connection/MongoCredentialWithCache$Cache;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/MongoCredentialWithCache;
0 2 1 credential Lcom/mongodb/MongoCredential;
MethodParameters:
Name Flags
credential final
public void <init>(com.mongodb.MongoCredential, com.mongodb.internal.connection.MongoCredentialWithCache$Cache);
descriptor: (Lcom/mongodb/MongoCredential;Lcom/mongodb/internal/connection/MongoCredentialWithCache$Cache;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.internal.connection.MongoCredentialWithCache.credential:Lcom/mongodb/MongoCredential;
2: aload 0
aload 2
ifnull 3
aload 2
goto 4
StackMap locals: com.mongodb.internal.connection.MongoCredentialWithCache com.mongodb.MongoCredential com.mongodb.internal.connection.MongoCredentialWithCache$Cache
StackMap stack: com.mongodb.internal.connection.MongoCredentialWithCache
3: new com.mongodb.internal.connection.MongoCredentialWithCache$Cache
dup
invokespecial com.mongodb.internal.connection.MongoCredentialWithCache$Cache.<init>:()V
StackMap locals: com.mongodb.internal.connection.MongoCredentialWithCache com.mongodb.MongoCredential com.mongodb.internal.connection.MongoCredentialWithCache$Cache
StackMap stack: com.mongodb.internal.connection.MongoCredentialWithCache com.mongodb.internal.connection.MongoCredentialWithCache$Cache
4: putfield com.mongodb.internal.connection.MongoCredentialWithCache.cache:Lcom/mongodb/internal/connection/MongoCredentialWithCache$Cache;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/internal/connection/MongoCredentialWithCache;
0 6 1 credential Lcom/mongodb/MongoCredential;
0 6 2 cache Lcom/mongodb/internal/connection/MongoCredentialWithCache$Cache;
MethodParameters:
Name Flags
credential final
cache final
public com.mongodb.internal.connection.MongoCredentialWithCache withMechanism(com.mongodb.AuthenticationMechanism);
descriptor: (Lcom/mongodb/AuthenticationMechanism;)Lcom/mongodb/internal/connection/MongoCredentialWithCache;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.internal.connection.MongoCredentialWithCache
dup
aload 0
getfield com.mongodb.internal.connection.MongoCredentialWithCache.credential:Lcom/mongodb/MongoCredential;
aload 1
invokevirtual com.mongodb.MongoCredential.withMechanism:(Lcom/mongodb/AuthenticationMechanism;)Lcom/mongodb/MongoCredential;
aload 0
getfield com.mongodb.internal.connection.MongoCredentialWithCache.cache:Lcom/mongodb/internal/connection/MongoCredentialWithCache$Cache;
invokespecial com.mongodb.internal.connection.MongoCredentialWithCache.<init>:(Lcom/mongodb/MongoCredential;Lcom/mongodb/internal/connection/MongoCredentialWithCache$Cache;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/MongoCredentialWithCache;
0 1 1 mechanism Lcom/mongodb/AuthenticationMechanism;
MethodParameters:
Name Flags
mechanism final
public com.mongodb.AuthenticationMechanism getAuthenticationMechanism();
descriptor: ()Lcom/mongodb/AuthenticationMechanism;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.MongoCredentialWithCache.credential:Lcom/mongodb/MongoCredential;
invokevirtual com.mongodb.MongoCredential.getAuthenticationMechanism:()Lcom/mongodb/AuthenticationMechanism;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/MongoCredentialWithCache;
public com.mongodb.MongoCredential getCredential();
descriptor: ()Lcom/mongodb/MongoCredential;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.MongoCredentialWithCache.credential:Lcom/mongodb/MongoCredential;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/MongoCredentialWithCache;
public <T> T getFromCache(, java.lang.Class<T>);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
getfield com.mongodb.internal.connection.MongoCredentialWithCache.cache:Lcom/mongodb/internal/connection/MongoCredentialWithCache$Cache;
aload 1
invokevirtual com.mongodb.internal.connection.MongoCredentialWithCache$Cache.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/MongoCredentialWithCache;
0 1 1 key Ljava/lang/Object;
0 1 2 clazz Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
key final
clazz final
public void putInCache(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.mongodb.internal.connection.MongoCredentialWithCache.cache:Lcom/mongodb/internal/connection/MongoCredentialWithCache$Cache;
aload 1
aload 2
invokevirtual com.mongodb.internal.connection.MongoCredentialWithCache$Cache.set:(Ljava/lang/Object;Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/MongoCredentialWithCache;
0 2 1 key Ljava/lang/Object;
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
key final
value final
}
SourceFile: "MongoCredentialWithCache.java"
NestMembers:
com.mongodb.internal.connection.MongoCredentialWithCache$Cache
InnerClasses:
Cache = com.mongodb.internal.connection.MongoCredentialWithCache$Cache of com.mongodb.internal.connection.MongoCredentialWithCache