class A<T : Any?> : Java1<T> {
  constructor() /* primary */ {
    super/*Java1*/<T>()
    /* <init>() */

  }

}

open class KotlinClass<T : Any?> : ArrayList<T> {
  constructor() /* primary */ {
    super/*ArrayList*/<T>()
    /* <init>() */

  }

}

fun test(a: A<Int>) {
  a.<get-size>() /*~> Unit */
  a.add(p0 = 1) /*~> Unit */
  a.add(p0 = 1, p1 = 2)
  a.get(p0 = 0) /*~> Unit */
  a.removeAt(p0 = 1) /*~> Unit */
  a.remove(p0 = 1) /*~> Unit */
}
