public class com.mongodb.internal.async.ErrorHandlingResultCallback<T> implements com.mongodb.async.SingleResultCallback<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.mongodb.internal.async.ErrorHandlingResultCallback
  super_class: java.lang.Object
{
  private final com.mongodb.async.SingleResultCallback<T> wrapped;
    descriptor: Lcom/mongodb/async/SingleResultCallback;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lcom/mongodb/async/SingleResultCallback<TT;>;

  private final com.mongodb.diagnostics.logging.Logger logger;
    descriptor: Lcom/mongodb/diagnostics/logging/Logger;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public static <T> com.mongodb.async.SingleResultCallback<T> errorHandlingCallback(com.mongodb.async.SingleResultCallback<T>, com.mongodb.diagnostics.logging.Logger);
    descriptor: (Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/diagnostics/logging/Logger;)Lcom/mongodb/async/SingleResultCallback;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.mongodb.async.SingleResultCallback callback
        start local 1 // com.mongodb.diagnostics.logging.Logger logger
         0: .line 34
            aload 0 /* callback */
            instanceof com.mongodb.internal.async.ErrorHandlingResultCallback
            ifeq 2
         1: .line 35
            aload 0 /* callback */
            areturn
         2: .line 37
      StackMap locals:
      StackMap stack:
            new com.mongodb.internal.async.ErrorHandlingResultCallback
            dup
            aload 0 /* callback */
            aload 1 /* logger */
            invokespecial com.mongodb.internal.async.ErrorHandlingResultCallback.<init>:(Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/diagnostics/logging/Logger;)V
            areturn
        end local 1 // com.mongodb.diagnostics.logging.Logger logger
        end local 0 // com.mongodb.async.SingleResultCallback callback
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0  callback  Lcom/mongodb/async/SingleResultCallback<TT;>;
            0    3     1    logger  Lcom/mongodb/diagnostics/logging/Logger;
    Signature: <T:Ljava/lang/Object;>(Lcom/mongodb/async/SingleResultCallback<TT;>;Lcom/mongodb/diagnostics/logging/Logger;)Lcom/mongodb/async/SingleResultCallback<TT;>;
    MethodParameters:
          Name  Flags
      callback  final
      logger    final

  void <init>(com.mongodb.async.SingleResultCallback<T>, com.mongodb.diagnostics.logging.Logger);
    descriptor: (Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/diagnostics/logging/Logger;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // com.mongodb.internal.async.ErrorHandlingResultCallback this
        start local 1 // com.mongodb.async.SingleResultCallback wrapped
        start local 2 // com.mongodb.diagnostics.logging.Logger logger
         0: .line 41
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 42
            aload 0 /* this */
            ldc "wrapped"
            aload 1 /* wrapped */
            invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.mongodb.async.SingleResultCallback
            putfield com.mongodb.internal.async.ErrorHandlingResultCallback.wrapped:Lcom/mongodb/async/SingleResultCallback;
         2: .line 43
            aload 0 /* this */
            ldc "logger"
            aload 2 /* logger */
            invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.mongodb.diagnostics.logging.Logger
            putfield com.mongodb.internal.async.ErrorHandlingResultCallback.logger:Lcom/mongodb/diagnostics/logging/Logger;
         3: .line 44
            return
        end local 2 // com.mongodb.diagnostics.logging.Logger logger
        end local 1 // com.mongodb.async.SingleResultCallback wrapped
        end local 0 // com.mongodb.internal.async.ErrorHandlingResultCallback this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lcom/mongodb/internal/async/ErrorHandlingResultCallback<TT;>;
            0    4     1  wrapped  Lcom/mongodb/async/SingleResultCallback<TT;>;
            0    4     2   logger  Lcom/mongodb/diagnostics/logging/Logger;
    Signature: (Lcom/mongodb/async/SingleResultCallback<TT;>;Lcom/mongodb/diagnostics/logging/Logger;)V
    MethodParameters:
         Name  Flags
      wrapped  final
      logger   final

  public void onResult(T, java.lang.Throwable);
    descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // com.mongodb.internal.async.ErrorHandlingResultCallback this
        start local 1 // java.lang.Object result
        start local 2 // java.lang.Throwable t
         0: .line 49
            aload 0 /* this */
            getfield com.mongodb.internal.async.ErrorHandlingResultCallback.wrapped:Lcom/mongodb/async/SingleResultCallback;
            aload 1 /* result */
            aload 2 /* t */
            invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
         1: .line 50
            goto 4
      StackMap locals:
      StackMap stack: java.lang.Throwable
         2: astore 3 /* e */
        start local 3 // java.lang.Throwable e
         3: .line 51
            aload 0 /* this */
            getfield com.mongodb.internal.async.ErrorHandlingResultCallback.logger:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "Callback onResult call produced an error"
            aload 3 /* e */
            invokeinterface com.mongodb.diagnostics.logging.Logger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 3 // java.lang.Throwable e
         4: .line 53
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Throwable t
        end local 1 // java.lang.Object result
        end local 0 // com.mongodb.internal.async.ErrorHandlingResultCallback this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lcom/mongodb/internal/async/ErrorHandlingResultCallback<TT;>;
            0    5     1  result  TT;
            0    5     2       t  Ljava/lang/Throwable;
            3    4     3       e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Throwable
    Signature: (TT;Ljava/lang/Throwable;)V
    MethodParameters:
        Name  Flags
      result  final
      t       final
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<TT;>;
SourceFile: "ErrorHandlingResultCallback.java"