goog.module('inlineclass.FooNullable$impl');

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

let Integer = goog.forwardDeclare('java.lang.Integer$impl');
let j_l_String = goog.forwardDeclare('java.lang.String$impl');
let Objects = goog.forwardDeclare('java.util.Objects$impl');
let InternalPreconditions = goog.forwardDeclare('javaemul.internal.InternalPreconditions$impl');
let $Equality = goog.forwardDeclare('nativebootstrap.Equality$impl');
let $Casts = goog.forwardDeclare('vmbootstrap.Casts$impl');
let $Objects = goog.forwardDeclare('vmbootstrap.Objects$impl');

/**
 * @final
 */
class FooNullable extends j_l_Object {
 /** @protected @nodts */
 constructor() {
  super();
  /**@type {Integer} @nodts*/
  this.f_i__inlineclass_FooNullable_;
 }
 /** @nodts @return {!FooNullable} */
 static $create__java_lang_Integer(/** Integer */ i) {
  FooNullable.$clinit();
  let $instance = new FooNullable();
  $instance.$ctor__inlineclass_FooNullable__java_lang_Integer__void(i);
  return $instance;
 }
 /** @nodts */
 $ctor__inlineclass_FooNullable__java_lang_Integer__void(/** Integer */ i) {
  this.$ctor__java_lang_Object__void();
  this.f_i__inlineclass_FooNullable_ = i;
 }
 /** @final @nodts @return {Integer} */
 m_getI__java_lang_Integer() {
  return this.f_i__inlineclass_FooNullable_;
 }
 /** @override @return {string} */
 toString() {
  return '' + 'FooNullable(' + 'i=' + j_l_String.m_valueOf__java_lang_Object__java_lang_String(this.f_i__inlineclass_FooNullable_) + ')';
 }
 /** @override @return {number} */
 hashCode() {
  return $Equality.$same(this.f_i__inlineclass_FooNullable_, null) ? 0 : $Objects.m_hashCode__java_lang_Object__int(this.f_i__inlineclass_FooNullable_);
 }
 /** @override @return {boolean} */
 equals(/** * */ other) {
  if (!FooNullable.$isInstance(other)) {
   return false;
  }
  let tmp0_other_with_cast = /**@type {!FooNullable}*/ ($Casts.$to(InternalPreconditions.m_checkNotNull__java_lang_Object__java_lang_Object(other), FooNullable));
  if (!Objects.m_equals__java_lang_Object__java_lang_Object__boolean(this.f_i__inlineclass_FooNullable_, tmp0_other_with_cast.f_i__inlineclass_FooNullable_)) {
   return false;
  }
  return true;
 }
 /** @nodts */
 static $clinit() {
  FooNullable.$clinit = () =>{};
  FooNullable.$loadModules();
  j_l_Object.$clinit();
 }
 /** @nodts @return {boolean} */
 static $isInstance(/** ? */ instance) {
  return instance instanceof FooNullable;
 }
 
 /** @nodts */
 static $loadModules() {
  j_l_String = goog.module.get('java.lang.String$impl');
  Objects = goog.module.get('java.util.Objects$impl');
  InternalPreconditions = goog.module.get('javaemul.internal.InternalPreconditions$impl');
  $Equality = goog.module.get('nativebootstrap.Equality$impl');
  $Casts = goog.module.get('vmbootstrap.Casts$impl');
  $Objects = goog.module.get('vmbootstrap.Objects$impl');
 }
}
$Util.$setClassMetadata(FooNullable, 'inlineclass.FooNullable');

exports = FooNullable;

//# sourceMappingURL=FooNullable.js.map
