// Generated from "j2ktnotpassing/DefinitelyNotNull.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 java.lang.RuntimeException
import kotlin.Suppress
import kotlin.jvm.JvmField

open class DefinitelyNotNull {
 open class Ordering<T> internal constructor() {
  internal open fun <S: T> reverse_pp_j2ktnotpassing(): Ordering<S> {
   throw RuntimeException()
  }

  internal open fun <S: T> nullsLast_pp_j2ktnotpassing(): Ordering<S?> {
   throw RuntimeException()
  }
 }

 inner class NullsFirstOrdering<T> constructor(ordering: Ordering<in T>): Ordering<T?>() {
  @JvmField
  internal val ordering_pp_j2ktnotpassing: Ordering<in T>

  init {
   this.ordering_pp_j2ktnotpassing = ordering
  }

  public fun <S: T?> reverse(): Ordering<S> {
   return this.ordering_pp_j2ktnotpassing.reverse_pp_j2ktnotpassing().nullsLast_pp_j2ktnotpassing<S>() as Ordering<S>
  }

  public fun <S: T?> nullsLast(): Ordering<S?> {
   return this.ordering_pp_j2ktnotpassing.nullsLast_pp_j2ktnotpassing<S?>()
  }

  override fun <S: T?> reverse_pp_j2ktnotpassing(): Ordering<S> {
   return this.reverse()
  }

  override fun <S: T?> nullsLast_pp_j2ktnotpassing(): Ordering<S?> {
   return this.nullsLast()
  }
 }
}
