- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for findVirtual (0.13 sec)
-
subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/AbstractCallInterceptor.java
private static final MethodHandles.Lookup LOOKUP = MethodHandles.lookup(); private static final MethodHandle INTERCEPTOR; static { try { INTERCEPTOR = LOOKUP.findVirtual(AbstractCallInterceptor.class, "interceptMethodHandle", MethodType.methodType(Object.class, MethodHandle.class, int.class, String.class, Object[].class)); } catch (NoSuchMethodException | IllegalAccessException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 14:02:30 UTC 2024 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/ChecksumHashFunction.java
} } private static @Nullable MethodHandle updateByteBuffer() { try { Class<?> clazz = Class.forName("java.util.zip.Checksum"); return MethodHandles.lookup() .findVirtual(clazz, "update", MethodType.methodType(void.class, ByteBuffer.class)); } catch (ClassNotFoundException e) { throw new AssertionError(e); } catch (IllegalAccessException e) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 22:01:56 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClassLoaderUtils.java
try { MethodHandles.Lookup lookup = getLookupForClassLoader(classLoader); MethodHandle methodHandle = lookup.findVirtual(ClassLoader.class, methodName, methodType); return (T) methodHandle.bindTo(classLoader).invokeWithArguments(arguments); } catch (Throwable e) { throw new RuntimeException(e);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 11.4K bytes - Viewed (0)