public final class com.mongodb.event.ConnectionRemovedEvent
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.event.ConnectionRemovedEvent
super_class: java.lang.Object
{
private final com.mongodb.connection.ConnectionId connectionId;
descriptor: Lcom/mongodb/connection/ConnectionId;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.event.ConnectionRemovedEvent$Reason reason;
descriptor: Lcom/mongodb/event/ConnectionRemovedEvent$Reason;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.mongodb.connection.ConnectionId);
descriptor: (Lcom/mongodb/connection/ConnectionId;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic com.mongodb.event.ConnectionRemovedEvent$Reason.UNKNOWN:Lcom/mongodb/event/ConnectionRemovedEvent$Reason;
invokespecial com.mongodb.event.ConnectionRemovedEvent.<init>:(Lcom/mongodb/connection/ConnectionId;Lcom/mongodb/event/ConnectionRemovedEvent$Reason;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/event/ConnectionRemovedEvent;
0 2 1 connectionId Lcom/mongodb/connection/ConnectionId;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
connectionId final
public void <init>(com.mongodb.connection.ConnectionId, com.mongodb.event.ConnectionRemovedEvent$Reason);
descriptor: (Lcom/mongodb/connection/ConnectionId;Lcom/mongodb/event/ConnectionRemovedEvent$Reason;)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
ldc "connectionId"
aload 1
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.ConnectionId
putfield com.mongodb.event.ConnectionRemovedEvent.connectionId:Lcom/mongodb/connection/ConnectionId;
2: aload 0
ldc "reason"
aload 2
invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.event.ConnectionRemovedEvent$Reason
putfield com.mongodb.event.ConnectionRemovedEvent.reason:Lcom/mongodb/event/ConnectionRemovedEvent$Reason;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/event/ConnectionRemovedEvent;
0 4 1 connectionId Lcom/mongodb/connection/ConnectionId;
0 4 2 reason Lcom/mongodb/event/ConnectionRemovedEvent$Reason;
MethodParameters:
Name Flags
connectionId final
reason final
public com.mongodb.connection.ConnectionId getConnectionId();
descriptor: ()Lcom/mongodb/connection/ConnectionId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.event.ConnectionRemovedEvent.connectionId:Lcom/mongodb/connection/ConnectionId;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/event/ConnectionRemovedEvent;
public com.mongodb.event.ConnectionRemovedEvent$Reason getReason();
descriptor: ()Lcom/mongodb/event/ConnectionRemovedEvent$Reason;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.event.ConnectionRemovedEvent.reason:Lcom/mongodb/event/ConnectionRemovedEvent$Reason;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/event/ConnectionRemovedEvent;
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 "ConnectionRemovedEvent{connectionId="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.event.ConnectionRemovedEvent.connectionId:Lcom/mongodb/connection/ConnectionId;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc ", reason="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.event.ConnectionRemovedEvent.reason:Lcom/mongodb/event/ConnectionRemovedEvent$Reason;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/event/ConnectionRemovedEvent;
}
SourceFile: "ConnectionRemovedEvent.java"
NestMembers:
com.mongodb.event.ConnectionRemovedEvent$Reason
InnerClasses:
public final Reason = com.mongodb.event.ConnectionRemovedEvent$Reason of com.mongodb.event.ConnectionRemovedEvent