@Test public void testToPrimitive01() { Object object = new Object() { @SuppressWarnings("unused") public String valueOf() { return "1"; } public String toString() { return "0"; } }; assertEquals("1", ToPrimitive(object)); }
static Object ToPrimitive(Object arg) { return ToPrimitive(arg, "Number"); }
JSAbstractOperations { static Object ToPrimitive(Object arg) { return ToPrimitive(arg, "Number"); } }
JSAbstractOperations { static Object ToPrimitive(Object arg) { return ToPrimitive(arg, "Number"); }  }
JSAbstractOperations { static Object ToPrimitive(Object arg) { return ToPrimitive(arg, "Number"); }   }
JSAbstractOperations { static Object ToPrimitive(Object arg) { return ToPrimitive(arg, "Number"); }   static final BigInteger UINT_MAX_VALUE; static final Double UINT_MAX_VALUE_D; static final BigInteger SINT_MAX_VALUE; static final BigInteger USHORT_MAX_VALUE; }