// Generated from "j2ktnotpassing/UnsatisfiedTypeBounds.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 j2ktnotpassing

import javaemul.lang.*
import kotlin.Any
import kotlin.Suppress
import kotlin.jvm.JvmStatic

open class UnsatisfiedTypeBounds internal constructor() {
 companion object {
  @JvmStatic
  internal fun <T: Any> methodWithTypeConstraints_pp_j2ktnotpassing(helper: Helper<T>, foo: Foo<out T>): T {
   return foo.get()
  }

  @JvmStatic
  internal fun test_pp_j2ktnotpassing() {
   val command: Command? = UnsatisfiedTypeBounds.methodWithTypeConstraints_pp_j2ktnotpassing<Command>(
    Helper<Command>(),
    FooCommand(),
   )
  }
 }

 fun interface Foo<T: Foo<T>> {
  fun get(): T
 }

 interface Command

 open class FooCommand internal constructor(): Foo<FooCommand>, Command {
  override fun get(): FooCommand {
   return this
  }
 }

 class Helper<T: Any> internal constructor()
}
