goog.module('lambdas.Lambdas.AnotherThenable.$LambdaAdaptor$impl');

const j_l_Object = goog.require('java.lang.Object$impl');
const $Util = goog.require('nativebootstrap.Util$impl');

let Throwable = goog.forwardDeclare('java.lang.Throwable$impl');

/**
 * @template T
 */
class $LambdaAdaptor extends j_l_Object {
 /** @nodts */
 constructor(/** ?function(?function(T):?void, ?function(Throwable):?void):void */ fn) {
  $LambdaAdaptor.$clinit();
  super();
  /**@type {?function(?function(T):?void, ?function(Throwable):?void):void} @nodts*/
  this.f_fn__lambdas_Lambdas_AnotherThenable_$LambdaAdaptor;
  this.$ctor__lambdas_Lambdas_AnotherThenable_$LambdaAdaptor__lambdas_Lambdas_AnotherThenable_$JsFunction__void(fn);
 }
 /** @nodts */
 $ctor__lambdas_Lambdas_AnotherThenable_$LambdaAdaptor__lambdas_Lambdas_AnotherThenable_$JsFunction__void(/** ?function(?function(T):?void, ?function(Throwable):?void):void */ fn) {
  this.$ctor__java_lang_Object__void();
  this.f_fn__lambdas_Lambdas_AnotherThenable_$LambdaAdaptor = fn;
 }
 
 then(/** ?function(T):?void */ arg0, /** ?function(Throwable):?void */ arg1) {
  {
   let $function = this.f_fn__lambdas_Lambdas_AnotherThenable_$LambdaAdaptor;
   $function(arg0, arg1);
  }
 }
 /** @nodts */
 static $clinit() {
  $LambdaAdaptor.$clinit = () =>{};
  $LambdaAdaptor.$loadModules();
  j_l_Object.$clinit();
 }
 /** @nodts @return {boolean} */
 static $isInstance(/** ? */ instance) {
  return instance instanceof $LambdaAdaptor;
 }
 
 /** @nodts */
 static $loadModules() {}
}
$Util.$setClassMetadata($LambdaAdaptor, 'lambdas.Lambdas$AnotherThenable$$LambdaAdaptor');

exports = $LambdaAdaptor;

//# sourceMappingURL=Lambdas$AnotherThenable$$LambdaAdaptor.js.map
