package java.lang {
import java.lang.Arguments;
dynamic public class AssertionError extends Error__ {
  public function AssertionError__(): Object {
    return this;
  }
  public function AssertionError__Z(message: Boolean): Object {
    return this;
  }
  public function AssertionError__C(message: uint): Object {
    return this;
  }
  public function AssertionError__D(message: Number): Object {
    return this;
  }
  public function AssertionError__F(message: Number): Object {
    return this;
  }
  public function AssertionError__I(message: int): Object {
    return this;
  }
  public function AssertionError__J(message: Number): Object {
    return this;
  }
  public function AssertionError__Ljava_lang_Object_2(message: Object): Object {
    return this;
  }
  private function AssertionError__Ljava_lang_String_2(message: String): Object {
    return this;
  }
  public function AssertionError(... vargs) {
    var args: Array;
    var id: int;
    if (vargs.length == 1 && vargs[0] is Arguments) {
      args = Arguments(vargs[0]).args;
      id = Arguments(vargs[0]).id;
    } else {
      if (vargs.length == 0) {
        id = 0;
      } else if (vargs.length == 1 && vargs[0] is Boolean) {
        args = vargs;
        id = 1;
      } else if (vargs.length == 1 && vargs[0] is uint) {
        args = vargs;
        id = 2;
      } else if (vargs.length == 1 && vargs[0] is Number) {
        args = vargs;
        id = 3;
      } else if (vargs.length == 1 && vargs[0] is Number) {
        args = vargs;
        id = 4;
      } else if (vargs.length == 1 && vargs[0] is int) {
        args = vargs;
        id = 5;
      } else if (vargs.length == 1 && vargs[0] is Number) {
        args = vargs;
        id = 6;
      } else if (vargs.length == 1 && vargs[0] is Object) {
        args = vargs;
        id = 7;
      } else if (vargs.length == 1 && vargs[0] is String) {
        args = vargs;
        id = 8;
      }
    }
    switch (id) {
      case 0:
        var superArgs: Arguments;
        superArgs = new Arguments(java.lang.Error__.Error____, []);
        break;
      case 1:
        var args1: Array = [args[0]];
        args8 = [Object(String).valueOf__Z(args1[0])];
        superArgs = new Arguments(java.lang.Error__.Error____Ljava_lang_String_2, [args8[0]]);
        break;
      case 2:
        var args2: Array = [args[0]];
        args8 = [Object(String).valueOf__C(args2[0])];
        superArgs = new Arguments(java.lang.Error__.Error____Ljava_lang_String_2, [args8[0]]);
        break;
      case 3:
        var args3: Array = [args[0]];
        args8 = [Object(String).valueOf__D(args3[0])];
        superArgs = new Arguments(java.lang.Error__.Error____Ljava_lang_String_2, [args8[0]]);
        break;
      case 4:
        var args4: Array = [args[0]];
        args8 = [Object(String).valueOf__F(args4[0])];
        superArgs = new Arguments(java.lang.Error__.Error____Ljava_lang_String_2, [args8[0]]);
        break;
      case 5:
        var args5: Array = [args[0]];
        args8 = [Object(String).valueOf__I(args5[0])];
        superArgs = new Arguments(java.lang.Error__.Error____Ljava_lang_String_2, [args8[0]]);
        break;
      case 6:
        var args6: Array = [args[0]];
        args8 = [Object(String).valueOf__J(args6[0])];
        superArgs = new Arguments(java.lang.Error__.Error____Ljava_lang_String_2, [args8[0]]);
        break;
      case 7:
        var args7: Array = [args[0]];
        superArgs = new Arguments(java.lang.Error__.Error____Ljava_lang_String_2Ljava_lang_Throwable_2, [Object(String).valueOf__Ljava_lang_Object_2(args7[0]), args7[0] is Throwable ? Throwable(args7[0]) : null]);
        break;
      case 8:
        var args8: Array = [args[0]];
        superArgs = new Arguments(java.lang.Error__.Error____Ljava_lang_String_2, [args8[0]]);
        break;
    }
    super(superArgs);
    switch (id) {
      case 0:
        AssertionError__();
        break;
      case 1:
        AssertionError__Ljava_lang_String_2(args8[0]);
        AssertionError__Z(args1[0]);
        break;
      case 2:
        AssertionError__Ljava_lang_String_2(args8[0]);
        AssertionError__C(args2[0]);
        break;
      case 3:
        AssertionError__Ljava_lang_String_2(args8[0]);
        AssertionError__D(args3[0]);
        break;
      case 4:
        AssertionError__Ljava_lang_String_2(args8[0]);
        AssertionError__F(args4[0]);
        break;
      case 5:
        AssertionError__Ljava_lang_String_2(args8[0]);
        AssertionError__I(args5[0]);
        break;
      case 6:
        AssertionError__Ljava_lang_String_2(args8[0]);
        AssertionError__J(args6[0]);
        break;
      case 7:
        AssertionError__Ljava_lang_Object_2(args7[0]);
        break;
      case 8:
        AssertionError__Ljava_lang_String_2(args8[0]);
        break;
    }
  }
  public static const AssertionError__ : int = 0;
  public static const AssertionError__Z : int = 1;
  public static const AssertionError__C : int = 2;
  public static const AssertionError__D : int = 3;
  public static const AssertionError__F : int = 4;
  public static const AssertionError__I : int = 5;
  public static const AssertionError__J : int = 6;
  public static const AssertionError__Ljava_lang_Object_2 : int = 7;
  public static const AssertionError__Ljava_lang_String_2 : int = 8;
}
}
