// Generated from "nativejstypes/Bar.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 nativejstypes

import javaemul.lang.*
import jsinterop.annotations.JsType
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmField
import kotlin.jvm.JvmStatic

@JsType(isNative = true)
open class Bar {
 @JvmField
 var x: Int = 0

 @JvmField
 var y: Int = 0

 constructor(x: Int, y: Int)

 external open fun product(): Int

 companion object {
  @JvmField
  var f: Int = 0

  @JvmStatic
  external fun getStatic(): Int
 }

 @JsType(isNative = true)
 open class Inner {
  constructor(n: Int)

  external open fun square(): Int

  companion object {
   @JvmStatic
   external fun getInnerStatic(): Int
  }
 }
}

@JsType(name = "Bar.Inner", isNative = true)
open class BarInnerWithDotInName {
 constructor(n: Int)

 external open fun square(): Int

 companion object {
  @JvmStatic
  external fun getInnerStatic(): Int
 }
}

@JsType(name = "Bar.Inner", namespace = "nativejstypes", isNative = true)
open class BarInnerWithDotInNameAndHasNamespace {
 constructor(n: Int)

 external open fun square(): Int

 companion object {
  @JvmStatic
  external fun getInnerStatic(): Int
 }
}
