/openjdk10/jdk/test/java/lang/invoke/ProtectedMemberDifferentPackage/p1/ |
H A D | T2.java | 53 assertFailure(IAE, () -> LOOKUP.unreflect(T1.class.getDeclaredMethod("m1"))); 54 assertFailure(IAE, () -> LOOKUP.unreflect(T1.class.getDeclaredMethod("m2")));
|
/openjdk10/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/beans/ |
H A D | CallerSensitiveDynamicMethod.java | 108 * {@link #getTarget(CallSiteDescriptor)} to unreflect a method handle from the reflective member on 165 final MethodHandle mh = unreflect(lookup, (Method)target); 180 private static MethodHandle unreflect(final MethodHandles.Lookup lookup, final Method m) { method in class:CallerSensitiveDynamicMethod 181 return Lookup.unreflect(lookup, m);
|
H A D | AbstractJavaLinker.java | 323 final MethodHandle handle = Lookup.PUBLIC.unreflect(reflMethod);
|
/openjdk10/jdk/test/java/lang/invoke/VarHandles/ |
H A D | VarHandleTestReflection.java | 70 MethodHandle mh = MethodHandles.lookup().unreflect( 84 MethodHandle mh = MethodHandles.lookup().unreflect(
|
/openjdk10/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/linker/support/ |
H A D | Lookup.java | 119 * Performs a {@link java.lang.invoke.MethodHandles.Lookup#unreflect(Method)}, 123 * @param m the method to unreflect 127 public MethodHandle unreflect(final Method m) { method in class:Lookup 128 return unreflect(lookup, m); 132 * Performs a {@link java.lang.invoke.MethodHandles.Lookup#unreflect(Method)}, 136 * @param lookup the lookup used to unreflect 137 * @param m the method to unreflect 141 public static MethodHandle unreflect(final MethodHandles.Lookup lookup, final Method m) { method in class:Lookup 143 return lookup.unreflect(m); 145 final IllegalAccessError ee = new IllegalAccessError("Failed to unreflect metho [all...] |
/openjdk10/nashorn/test/src/jdk/dynalink/linker/support/test/ |
H A D | LookupTest.java | 75 final MethodHandle mh = Lookup.unreflect(getLookup(publicLookup), LookupTest.class.getMethod("unreflectTest", Boolean.TYPE)); 81 final MethodHandle mh = Lookup.PUBLIC.unreflect(LookupTest.class.getMethod("unreflectTest", Boolean.TYPE)); 88 final MethodHandle mh = Lookup.unreflect(getLookup(publicLookup), 103 Lookup.PUBLIC.unreflect(LookupTest.class.getDeclaredMethod("privateFunc"));
|
/openjdk10/jdk/test/java/lang/invoke/7196190/ |
H A D | ClassForNameTest.java | 86 final MethodHandle mh = MethodHandles.lookup().unreflect(fnMethod);
|
H A D | GetUnsafeTest.java | 95 final MethodHandle mh = MethodHandles.lookup().unreflect(fnMethod);
|
/openjdk10/hotspot/test/compiler/jsr292/ |
H A D | RedefineMethodUsedByMultipleMethodHandles.java | 79 MethodHandle fooMH1 = lookup.unreflect(fooMethod); 80 MethodHandle fooMH2 = lookup.unreflect(fooMethod);
|
/openjdk10/jdk/test/java/lang/invoke/ |
H A D | PrivateInvokeTest.java | 115 private static MethodHandle unreflect(Method m) { method in class:PrivateInvokeTest 117 MethodHandle mh = LOOKUP.unreflect(m); 333 final MethodHandle mh = unreflect(m);
|
H A D | ThrowExceptionsTest.java | 159 mh = LOOKUP.unreflect(m);
|
H A D | CallStaticInitOrder.java | 107 CONSTANT_MH_bat = lookup().unreflect(Init4.class.getDeclaredMethod("bat"));
|
H A D | PermuteArgsTest.java | 149 test(m.getName(), lookup.unreflect(m)); 222 MethodHandle mh = lookup.unreflect(m);
|
H A D | AccessControlTest.java | 406 testOneAccess(sourceCase, method, "unreflect"); 438 case "unreflect": 439 sourceCase.lookup().unreflect(method);
|
H A D | RevealDirectTest.java | 525 mh = lookup.unreflect(m);
|
H A D | MethodHandlesTest.java | 946 startTest("unreflect"); 1002 target = maybeMoveIn(lookup, defc).unreflect(rmethod); 1011 System.out.println("unreflect"+(isSpecial?"Special":"")+" "+defc.getName()+"."+name+"/"+type 1140 case TEST_UNREFLECT: return true; // unreflect matches both 3360 MethodHandle invoker = lookup.unreflect(m);
|
H A D | BigArityTest.java | 70 MethodHandles.lookup().unreflect(
|
/openjdk10/hotspot/test/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ |
H A D | MethodHandleAccessProviderTest.java | 101 mh = MethodHandles.lookup().unreflect(self);
|
/openjdk10/hotspot/test/compiler/intrinsics/bigInteger/ |
H A D | MontgomeryMultiplyTest.java | 74 montgomeryMultiplyHandle = lookup.unreflect(m); 80 montgomerySquareHandle = lookup.unreflect(m);
|
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/reflect/ |
H A D | ReflectionFactory.java | 484 return MethodHandles.lookup().unreflect(meth); 546 return MethodHandles.lookup().unreflect(m);
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.code/src/org/graalvm/compiler/code/ |
H A D | HexCodeFileDisassemblerProvider.java | 136 toolMethod = MethodHandles.lookup().unreflect(toolClass.getDeclaredMethod("processEmbeddedString", String.class));
|
/openjdk10/jdk/test/java/lang/invoke/7087570/ |
H A D | Test7087570.java | 184 return LOOKUP.unreflect(m);
|
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/lookup/ |
H A D | MethodHandleFactory.java | 532 final MethodHandle mh = PUBLIC_LOOKUP.unreflect(method);
|
/openjdk10/jdk/src/java.base/share/classes/java/lang/invoke/ |
H A D | MethodHandles.java | 332 * <th scope="row">{@link java.lang.invoke.MethodHandles.Lookup#unreflect lookup.unreflect(aMethod)}</th> 340 * <th scope="row">{@link java.lang.invoke.MethodHandles.Lookup#unreflect lookup.unreflect(aMethod)}</th> 1733 public MethodHandle unreflect(Method m) throws IllegalAccessException { method in class:MethodHandles.Lookup 2283 // Optionally check with the security manager; this isn't needed for unreflect* calls. 2356 // Optionally check with the security manager; this isn't needed for unreflect* calls. 2427 // Optionally check with the security manager; this isn't needed for unreflect* calls.
|