Lines Matching defs:id
1413 static Object id() { return called("id"); }
1414 static Object id(Object x) { return called("id", x); }
1415 static Object id(Object x, Object y) { return called("id", x, y); }
1416 static Object id(Object x, Object y, Object z) { return called("id", x, y, z); }
1417 static Object id(Object... vx) { return called("id", vx); }
1434 String name = pfx+"id";
1447 testConvert(Callee.ofType(1), null, "id", int.class);
1448 testConvert(Callee.ofType(1), null, "id", String.class);
1449 testConvert(Callee.ofType(1), null, "id", Integer.class);
1450 testConvert(Callee.ofType(1), null, "id", short.class);
1451 testConvert(Callee.ofType(1), null, "id", char.class);
1452 testConvert(Callee.ofType(1), null, "id", byte.class);
1455 void testConvert(MethodHandle id, Class<?> rtype, String name, Class<?>... params) throws Throwable {
1456 testConvert(true, id, rtype, name, params);
1460 MethodHandle id, Class<?> rtype, String name, Class<?>... params) throws Throwable {
1462 MethodType idType = id.type();
1477 Object convResult = id.invokeWithArguments(convArgs);
1487 target = id.asType(newType);
1492 System.out.println("convert "+id+ " to "+newType+" => "+target
1498 printCalled(target, id.toString(), args);