final class com.mongodb.internal.connection.ChangeEvent<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.internal.connection.ChangeEvent
super_class: java.lang.Object
{
private final T previousValue;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TT;
private final T newValue;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TT;
void <init>(T, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0000)
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 "oldValue"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
putfield com.mongodb.internal.connection.ChangeEvent.previousValue:Ljava/lang/Object;
2: aload 0
ldc "newValue"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
putfield com.mongodb.internal.connection.ChangeEvent.newValue:Ljava/lang/Object;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/ChangeEvent<TT;>;
0 4 1 previousValue TT;
0 4 2 newValue TT;
Signature: (TT;TT;)V
MethodParameters:
Name Flags
previousValue final
newValue final
public T getPreviousValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.ChangeEvent.previousValue:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/ChangeEvent<TT;>;
Signature: ()TT;
public T getNewValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.ChangeEvent.newValue:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/ChangeEvent<TT;>;
Signature: ()TT;
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 com.mongodb.internal.connection.ChangeEvent
astore 2
start local 2 5: aload 0
getfield com.mongodb.internal.connection.ChangeEvent.newValue:Ljava/lang/Object;
aload 2
getfield com.mongodb.internal.connection.ChangeEvent.newValue:Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals: com.mongodb.internal.connection.ChangeEvent
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.ChangeEvent.previousValue:Ljava/lang/Object;
ifnull 8
aload 0
getfield com.mongodb.internal.connection.ChangeEvent.previousValue:Ljava/lang/Object;
aload 2
getfield com.mongodb.internal.connection.ChangeEvent.previousValue:Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 10
goto 9
StackMap locals:
StackMap stack:
8: aload 2
getfield com.mongodb.internal.connection.ChangeEvent.previousValue:Ljava/lang/Object;
ifnull 10
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/mongodb/internal/connection/ChangeEvent<TT;>;
0 11 1 o Ljava/lang/Object;
5 11 2 that Lcom/mongodb/internal/connection/ChangeEvent<*>;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.ChangeEvent.previousValue:Ljava/lang/Object;
ifnull 1
aload 0
getfield com.mongodb.internal.connection.ChangeEvent.previousValue:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.internal.connection.ChangeEvent.newValue:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/internal/connection/ChangeEvent<TT;>;
3 5 1 result I
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 "ChangeEvent{previousValue="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.internal.connection.ChangeEvent.previousValue:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc ", newValue="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.internal.connection.ChangeEvent.newValue:Ljava/lang/Object;
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/internal/connection/ChangeEvent<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ChangeEvent.java"