Searched refs:receiverClass (Results 1 - 4 of 4) sorted by relevance
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/ |
H A D | NashornStaticClassLinker.java | 74 final Class<?> receiverClass = ((StaticClass) self).getRepresentedClass(); 76 Bootstrap.checkReflectionAccess(receiverClass, true); 80 if (! Modifier.isPublic(receiverClass.getModifiers())) { 81 throw ECMAErrors.typeError("new.on.nonpublic.javatype", receiverClass.getName()); 85 Context.checkPackageAccess(receiverClass); 88 if (NashornLinker.isAbstractClass(receiverClass)) { 94 args[0] = JavaAdapterFactory.getAdapterClassFor(new Class<?>[] { receiverClass }, null, lookup); 96 final GuardedInvocation gi = checkNullConstructor(delegate(linkerServices, adapterRequest), receiverClass); 104 return checkNullConstructor(delegate(linkerServices, request), receiverClass); 114 private static GuardedInvocation checkNullConstructor(final GuardedInvocation ctorInvocation, final Class<?> receiverClass) { argument [all...] |
H A D | PrimitiveLookup.java | 64 * @param receiverClass the class of the receiver value (e.g., {@link java.lang.Boolean}, {@link java.lang.String} etc.) 68 * @param wrapFilter A method handle that takes a primitive value of type specified in the {@code receiverClass} and 73 * type {@code receiverClass}. 75 public static GuardedInvocation lookupPrimitive(final LinkRequest request, final Class<?> receiverClass, argument 78 return lookupPrimitive(request, Guards.getInstanceOfGuard(receiverClass), wrappedReceiver, wrapFilter, protoFilter);
|
/openjdk9/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/beans/ |
H A D | StaticClassIntrospector.java | 120 private static MethodHandle dropReceiver(final MethodHandle mh, final Class<?> receiverClass) { argument 121 MethodHandle newHandle = MethodHandles.dropArguments(mh, 0, receiverClass);
|
/openjdk9/jdk/src/java.base/share/classes/java/lang/invoke/ |
H A D | AbstractValidatingLambdaMetafactory.java | 236 final Class<?> receiverClass; 243 receiverClass = instantiatedMethodType.parameterType(0); 248 receiverClass = invokedType.parameterType(0); 252 if (!implClass.isAssignableFrom(receiverClass)) { 255 receiverClass, implClass));
|
Completed in 96 milliseconds