/openjdk7/hotspot/test/compiler/7082949/ |
H A D | Test7082949.java | 48 MethodHandle m1 = MethodHandles.lookup().findStatic(Test7082949.class, "test", methodType(Test7082949.class));
|
/openjdk7/hotspot/test/compiler/7141637/ |
H A D | SpreadNullArg.java | 47 MethodHandles.lookup().findStatic(SpreadNullArg.class, "target_spread_arg", mt_ref_arg);
|
/openjdk7/jdk/test/java/lang/invoke/6987555/ |
H A D | Test6987555.java | 55 MethodHandle mh1 = MethodHandles.lookup().findStatic(CLASS, NAME, MethodType.methodType(boolean.class, boolean.class)); 81 MethodHandle mh1 = MethodHandles.lookup().findStatic(CLASS, NAME, MethodType.methodType(byte.class, byte.class)); 105 MethodHandle mh1 = MethodHandles.lookup().findStatic(CLASS, NAME, MethodType.methodType(char.class, char.class)); 135 MethodHandle mh1 = MethodHandles.lookup().findStatic(CLASS, NAME, MethodType.methodType(short.class, short.class)); 165 MethodHandle mh1 = MethodHandles.lookup().findStatic(CLASS, NAME, MethodType.methodType(int.class, int.class));
|
/openjdk7/jdk/test/java/lang/invoke/ |
H A D | RicochetTest.java | 516 private static MethodHandle findStatic(String name, method in class:RicochetTest 520 return LOOKUP.findStatic(LOOKUP.lookupClass(), name, methodType(rtype, ptypes)); 525 private static MethodHandle findStatic(String name, method in class:RicochetTest 528 return findStatic(name, rtype, ptypes.toArray(new Class<?>[ptypes.size()])); 563 opI4 = findStatic("opI4", int.class, int.class, int.class, int.class, int.class); 564 opI3 = findStatic("opI3", int.class, int.class, int.class, int.class); 565 opI2 = findStatic("opI2", int.class, int.class, int.class); 566 opI = findStatic("opI", int.class, int.class); 567 opI_L = findStatic("opI_L", Object.class, int.class); 568 opJ = findStatic("op [all...] |
H A D | CallSiteTest.java | 55 mh_foo = lookup().findStatic(CLASS, "foo", methodType(int.class, int.class, int.class)); 56 mh_bar = lookup().findStatic(CLASS, "bar", methodType(int.class, int.class, int.class)); 141 return lookup().findStatic(lookup().lookupClass(), "bsm_mcs", MT_bsm()); 153 return lookup().findStatic(lookup().lookupClass(), "bsm_vcs", MT_bsm());
|
H A D | InvokeDynamicPrintArgs.java | 141 return lookup().findStatic(lookup().lookupClass(), 156 return lookup().findStatic(lookup().lookupClass(), "bsm", MT_bsm()); 159 return lookup().findStatic(lookup().lookupClass(), "bsm", MT_bsm()); 211 return lookup().findStatic(lookup().lookupClass(), "bsm2", MT_bsm2());
|
H A D | JavaDocExamplesTest.java | 102 ADD_2 = LOOKUP.findStatic(THIS_CLASS, "add", methodType(int.class, int.class, int.class)); 103 SUB_2 = LOOKUP.findStatic(THIS_CLASS, "sub", methodType(int.class, int.class, int.class)); 242 mh = lookup.findStatic(java.util.Arrays.class, "asList", mt); 299 .findStatic(Arrays.class, "toString", methodType(String.class, char[].class)); 312 .findStatic(Arrays.class, "deepToString", methodType(String.class, Object[].class)); 329 .findStatic(Arrays.class, "toString", methodType(String.class, byte[].class)) 333 .findStatic(Arrays.class, "toString", methodType(String.class, long[].class)) 344 .findStatic(Arrays.class, "deepToString", methodType(String.class, Object[].class)); 350 // findStatic of Arrays.asList(...) produces a variable arity method handle: 352 .findStatic(Array [all...] |
H A D | MethodHandlesTest.java | 309 LIST_TO_STRING = PRIVATE.findStatic(PRIVATE.lookupClass(), "listToString", 316 LIST_TO_INT = PRIVATE.findStatic(PRIVATE.lookupClass(), "listToInt", 469 startTest("findStatic"); 505 target = maybeMoveIn(lookup, defc).findStatic(defc, methodName, type); 515 System.out.println("findStatic "+lookup+": "+defc.getName()+"."+name+"/"+type+" => "+target 1436 return PRIVATE.findStatic(Callee.class, name, type); 1510 MethodHandle vac0 = PRIVATE.findStatic(MethodHandlesTest.class, "called", 2020 MethodHandle target = PRIVATE.findStatic(MethodHandlesTest.class, "invokee", 2201 MethodHandle target = PRIVATE.findStatic(MethodHandlesTest.class, "targetIfEquals", MethodType.genericMethodType(nargs1)); 2202 MethodHandle fallback = PRIVATE.findStatic(MethodHandlesTes [all...] |
H A D | ThrowExceptionsTest.java | 146 private static MethodHandle findStatic(String name) { method in class:ThrowExceptionsTest
|
H A D | PrivateInvokeTest.java | 187 .findStatic(MethodHandle.class, name, mtype);
|
H A D | AccessControlTest.java | 366 sourceCase.lookup().findStatic(targetClass, methodName, methodType);
|
H A D | InvokeGenericTest.java | 326 = LOOKUP.findStatic(LOOKUP.lookupClass(),
|
H A D | BigArityTest.java | 398 MethodHandle mh = MethodHandles.lookup().findStatic(BigArityTest.class, "hashArguments_"+ARITY, mt); 605 MethodHandle mh = MethodHandles.lookup().findStatic(BigArityTest.class, "hashArguments_"+ARITY, mt); 814 MethodHandle mh = MethodHandles.lookup().findStatic(BigArityTest.class, "hashArguments_"+ARITY, mt); 1006 mh = MethodHandles.lookup().findStatic(BigArityTest.class, "hashArguments_"+ARITY, mt); 1010 mh = MethodHandles.lookup().findStatic(BigArityTest.class, "hashArguments_"+(ARITY-1), mt.dropParameterTypes(ARITY-1, ARITY));
|
/openjdk7/hotspot/test/compiler/7088020/ |
H A D | Test7088020.java | 42 MethodHandle test = MethodHandles.lookup().findStatic(Test7088020.class, "test", MethodType.methodType(Boolean.TYPE));
|
/openjdk7/jdk/src/share/classes/sun/invoke/util/ |
H A D | ValueConversions.java | 150 mh = IMPL_LOOKUP.findStatic(THIS_CLASS, name, type); 295 mh = IMPL_LOOKUP.findStatic(THIS_CLASS, name, type); 369 mh = IMPL_LOOKUP.findStatic(THIS_CLASS, "zero"+wrap.wrapperSimpleName(), type); 472 IDENTITY = IMPL_LOOKUP.findStatic(THIS_CLASS, "identity", idType); 474 CAST_REFERENCE = IMPL_LOOKUP.findStatic(THIS_CLASS, "castReference", castType); 475 ZERO_OBJECT = IMPL_LOOKUP.findStatic(THIS_CLASS, "zeroObject", zeroObjectType); 476 IGNORE = IMPL_LOOKUP.findStatic(THIS_CLASS, "ignore", ignoreType); 477 EMPTY = IMPL_LOOKUP.findStatic(THIS_CLASS, "empty", ignoreType.dropParameterTypes(0, 1)); 478 ARRAY_IDENTITY = IMPL_LOOKUP.findStatic(THIS_CLASS, "identity", MethodType.methodType(Object[].class, Object[].class)); 480 .findStatic(THIS_CLAS [all...] |
/openjdk7/jdk/src/share/classes/java/lang/invoke/ |
H A D | MethodHandleImpl.java | 149 return IMPL_LOOKUP.findStatic(ArrayAccessor.class, name, type); 553 = IMPL_LOOKUP.findStatic(MethodHandleImpl.class, "selectAlternative", 765 = IMPL_LOOKUP.findStatic(MethodHandleImpl.class, "throwException", 835 MethodHandle init = IMPL_LOOKUP.findStatic(bcc, "init", MethodType.methodType(void.class)); 843 bccInvoker = IMPL_LOOKUP.findStatic(bcc, "invoke_V", invokerMT); 885 .findStatic(THIS_CLASS, "checkCallerClass",
|
H A D | Invokers.java | 215 .findStatic(CallSite.class, "uninitializedCallSite",
|
H A D | MethodHandles.java | 140 * <td>{@linkplain java.lang.invoke.MethodHandles.Lookup#findStatic lookup.findStatic(C.class,"m",MT)}</td> 323 * the reflective request (such as {@code findStatic}), 583 MethodHandle findStatic(Class<?> refc, String name, MethodType type) throws NoSuchMethodException, IllegalAccessException { method in class:MethodHandles.Lookup
|
/openjdk7/jdk/test/java/lang/invoke/6991596/ |
H A D | Test6991596.java | 51 return MethodHandles.lookup().findStatic(CLASS, NAME, MethodType.methodType(ret, arg));
|
/openjdk7/jdk/test/java/lang/invoke/6998541/ |
H A D | Test6998541.java | 145 MethodHandle mh = lookup.findStatic(CLASS, NAME, mt.changeReturnType(lookupRet));
|