goog.module('intersectiontype.Getable$impl');

const $Util = goog.require('nativebootstrap.Util$impl');

let $LambdaAdaptor = goog.forwardDeclare('intersectiontype.Getable.$LambdaAdaptor$impl');

/**
 * @interface
 * @template T
 */
class Getable {
 /** @abstract @nodts @return {T} */
 m_get__java_lang_Object() {}
 /** @nodts @template T @return {!Getable<T>} */
 static $adapt(/** ?function():T */ fn) {
  Getable.$clinit();
  return /**@type {!$LambdaAdaptor<T>}*/ (new $LambdaAdaptor(fn));
 }
 /** @nodts */
 static $clinit() {
  Getable.$clinit = () =>{};
  Getable.$loadModules();
 }
 
 static $markImplementor(/** Function */ ctor) {
  ctor.prototype.$implements__intersectiontype_Getable = true;
 }
 /** @nodts @return {boolean} */
 static $isInstance(/** ? */ instance) {
  return instance != null && !!instance.$implements__intersectiontype_Getable;
 }
 
 /** @nodts */
 static $loadModules() {
  $LambdaAdaptor = goog.module.get('intersectiontype.Getable.$LambdaAdaptor$impl');
 }
}
Getable.$markImplementor(/**@type {Function}*/ (Getable));
$Util.$setClassMetadataForInterface(/**@type {Function}*/ (Getable), 'intersectiontype.Getable');

exports = Getable;

//# sourceMappingURL=Getable.js.map
