// Generated from "autovalue/AutoValueWithBuilder.java"
@file:Suppress(
 "ALWAYS_NULL",
 "PARAMETER_NAME_CHANGED_ON_OVERRIDE",
 "SENSELESS_COMPARISON",
 "UNCHECKED_CAST",
 "UNNECESSARY_LATEINIT",
 "UNNECESSARY_NOT_NULL_ASSERTION",
 "UNREACHABLE_CODE",
 "UNUSED_ANONYMOUS_PARAMETER",
 "UNUSED_PARAMETER",
 "UNUSED_VARIABLE",
 "USELESS_CAST",
 "VARIABLE_IN_SINGLETON_WITHOUT_THREAD_LOCAL",
 "VARIABLE_WITH_REDUNDANT_INITIALIZER",
 "REDUNDANT_ELSE_IN_WHEN")

package autovalue

import javaemul.lang.*
import javaemul.lang.annotations.WasAutoValue
import kotlin.Boolean
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmStatic

@WasAutoValue
abstract class AutoValueWithBuilder {
 abstract fun getBooleanField(): Boolean

 abstract fun getNullableField(): Double?

 abstract fun toBuilder(): Builder?

 companion object {
  @JvmStatic
  internal fun create_pp_autovalue(): AutoValueWithBuilder? {
   return autovalue.AutoValue_AutoValueWithBuilder.Builder().setBooleanField(true)!!.build()
  }
 }

 @javaemul.lang.annotations.WasAutoValue.Builder
 abstract class Builder internal constructor() {
  abstract fun setBooleanField(x: Boolean): Builder?

  abstract fun setNullableField(x: Double?): Builder?

  abstract fun build(): AutoValueWithBuilder?
 }
}
