Searched refs:findStatic (Results 1 - 20 of 20) sorted by relevance

/openjdk7/hotspot/test/compiler/7082949/
H A DTest7082949.java48 MethodHandle m1 = MethodHandles.lookup().findStatic(Test7082949.class, "test", methodType(Test7082949.class));
/openjdk7/hotspot/test/compiler/7141637/
H A DSpreadNullArg.java47 MethodHandles.lookup().findStatic(SpreadNullArg.class, "target_spread_arg", mt_ref_arg);
/openjdk7/jdk/test/java/lang/invoke/6987555/
H A DTest6987555.java55 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 DRicochetTest.java516 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 DCallSiteTest.java55 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 DInvokeDynamicPrintArgs.java141 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 DJavaDocExamplesTest.java102 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 DMethodHandlesTest.java309 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 DThrowExceptionsTest.java146 private static MethodHandle findStatic(String name) { method in class:ThrowExceptionsTest
H A DPrivateInvokeTest.java187 .findStatic(MethodHandle.class, name, mtype);
H A DAccessControlTest.java366 sourceCase.lookup().findStatic(targetClass, methodName, methodType);
H A DInvokeGenericTest.java326 = LOOKUP.findStatic(LOOKUP.lookupClass(),
H A DBigArityTest.java398 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 DTest7088020.java42 MethodHandle test = MethodHandles.lookup().findStatic(Test7088020.class, "test", MethodType.methodType(Boolean.TYPE));
/openjdk7/jdk/src/share/classes/sun/invoke/util/
H A DValueConversions.java150 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 DMethodHandleImpl.java149 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 DInvokers.java215 .findStatic(CallSite.class, "uninitializedCallSite",
H A DMethodHandles.java140 * <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 DTest6991596.java51 return MethodHandles.lookup().findStatic(CLASS, NAME, MethodType.methodType(ret, arg));
/openjdk7/jdk/test/java/lang/invoke/6998541/
H A DTest6998541.java145 MethodHandle mh = lookup.findStatic(CLASS, NAME, mt.changeReturnType(lookupRet));

Completed in 239 milliseconds