goog.module('autovalue.AutoValueWithExtensions$impl');

const reflect = goog.require('goog.reflect');
const ValueType = goog.require('javaemul.internal.ValueType$impl');
const $Util = goog.require('nativebootstrap.Util$impl');

let AutoValue__AutoValueWithExtensions = goog.forwardDeclare('autovalue.AutoValue_AutoValueWithExtensions$impl');
let Objects = goog.forwardDeclare('java.util.Objects$impl');

/**
 * @abstract
 */
class AutoValueWithExtensions extends ValueType {
 /** @protected @nodts */
 constructor() {
  super();
  /**@type {number} @nodts*/
  this.f_intField__autovalue_$$AutoValue_AutoValueWithExtensions_ = 0;
  /**@type {?string} @nodts*/
  this.f_stringField__autovalue_$$AutoValue_AutoValueWithExtensions_;
 }
 /** @nodts @return {number} */
 m_getMemoizedNative__int_$pp_autovalue() {
  return Math.imul(this.m_getIntField__int(), 2);
 }
 /** @abstract @nodts @return {?string} */
 m_toPrettyString__java_lang_String_$pp_autovalue() {}
 /** @nodts @return {AutoValueWithExtensions} */
 static m_create__autovalue_AutoValueWithExtensions() {
  AutoValueWithExtensions.$clinit();
  return AutoValue__AutoValueWithExtensions.$create__int__java_lang_String(42, 'text');
 }
 /** @nodts */
 $ctor__autovalue_AutoValueWithExtensions__int__java_lang_String__void(/** number */ intField, /** ?string */ stringField) {
  this.$ctor__javaemul_internal_ValueType__void();
  this.f_intField__autovalue_$$AutoValue_AutoValueWithExtensions_ = intField;
  Objects.m_requireNonNull__java_lang_Object__java_lang_Object(stringField);
  this.f_stringField__autovalue_$$AutoValue_AutoValueWithExtensions_ = stringField;
  $J2CL_PRESERVE$(this.f_intField__autovalue_$$AutoValue_AutoValueWithExtensions_, this.f_stringField__autovalue_$$AutoValue_AutoValueWithExtensions_);
 }
 /** @nodts @return {number} */
 m_getIntField__int() {
  return this.f_intField__autovalue_$$AutoValue_AutoValueWithExtensions_;
 }
 /** @nodts @return {?string} */
 m_getStringField__java_lang_String() {
  return this.f_stringField__autovalue_$$AutoValue_AutoValueWithExtensions_;
 }
 /** @nodts */
 static $clinit() {
  AutoValueWithExtensions.$clinit = () =>{};
  AutoValueWithExtensions.$loadModules();
  ValueType.$clinit();
 }
 /** @nodts @return {boolean} */
 static $isInstance(/** ? */ instance) {
  return instance instanceof AutoValueWithExtensions;
 }
 
 /** @nodts */
 static $loadModules() {
  AutoValue__AutoValueWithExtensions = goog.module.get('autovalue.AutoValue_AutoValueWithExtensions$impl');
  Objects = goog.module.get('java.util.Objects$impl');
 }
}
AutoValueWithExtensions.prototype.$excluded_fields = /**@pureOrBreakMyCode*/ [reflect.objectProperty('f_getMemoizedNative__autovalue_AutoValue_AutoValueWithExtensions_', AutoValueWithExtensions), reflect.objectProperty('f_getMemoizedNative$Memoized__autovalue_AutoValue_AutoValueWithExtensions_', AutoValueWithExtensions)];
$Util.$setClassMetadata(AutoValueWithExtensions, 'autovalue.AutoValueWithExtensions');

exports = AutoValueWithExtensions;

//# sourceMappingURL=AutoValueWithExtensions.js.map
