goog.module('genericconstructor.GenericConstructor$impl');

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

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

/**
 * @template T
 */
class GenericConstructor extends j_l_Object {
 /** @protected @nodts */
 constructor() {
  super();
 }
 //Factory method corresponding to constructor 'GenericConstructor(Object, Object)'.
 /** @nodts @template T, S @return {!GenericConstructor<T>} */
 static $create__java_lang_Object__java_lang_Object(/** S */ s, /** T */ t) {
  GenericConstructor.$clinit();
  let $instance = new GenericConstructor();
  $instance.$ctor__genericconstructor_GenericConstructor__java_lang_Object__java_lang_Object__void(s, t);
  return $instance;
 }
 //Initialization from constructor 'GenericConstructor(Object, Object)'.
 /** @nodts @template S */
 $ctor__genericconstructor_GenericConstructor__java_lang_Object__java_lang_Object__void(/** S */ s, /** T */ t) {
  this.$ctor__java_lang_Object__void();
 }
 //Factory method corresponding to constructor 'GenericConstructor(Object)'.
 /** @nodts @template T, T_1 @return {!GenericConstructor<T>} */
 static $create__java_lang_Object(/** T_1 */ t) {
  GenericConstructor.$clinit();
  let $instance = new GenericConstructor();
  $instance.$ctor__genericconstructor_GenericConstructor__java_lang_Object__void(t);
  return $instance;
 }
 //Initialization from constructor 'GenericConstructor(Object)'.
 /** @nodts @template T_1 */
 $ctor__genericconstructor_GenericConstructor__java_lang_Object__void(/** T_1 */ t) {
  this.$ctor__java_lang_Object__void();
 }
 /** @nodts */
 m_test__void() {
  GenericConstructor.$create__java_lang_Object__java_lang_Object(Exception.$create__(), Error.$create__());
  GenericConstructor.$create__java_lang_Object(Exception.$create__());
 }
 /** @nodts */
 static $clinit() {
  GenericConstructor.$clinit = () =>{};
  GenericConstructor.$loadModules();
  j_l_Object.$clinit();
 }
 /** @nodts @return {boolean} */
 static $isInstance(/** ? */ instance) {
  return instance instanceof GenericConstructor;
 }
 
 /** @nodts */
 static $loadModules() {
  Error = goog.module.get('java.lang.Error$impl');
  Exception = goog.module.get('java.lang.Exception$impl');
 }
}
$Util.$setClassMetadata(GenericConstructor, 'genericconstructor.GenericConstructor');

exports = GenericConstructor;

//# sourceMappingURL=GenericConstructor.js.map
