Searched defs:intfc (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DMethodHandleProxies.java112 * @param intfc the desired type of the wrapper, a single-method interface
115 * @throws IllegalArgumentException if the {@code intfc} is not a
143 <T> T asInterfaceInstance(final Class<T> intfc, final MethodHandle target) { argument
144 if (!intfc.isInterface() || !Modifier.isPublic(intfc.getModifiers()))
145 throw new IllegalArgumentException("not a public interface: "+intfc.getName());
150 ReflectUtil.checkProxyPackageAccess(ccl, intfc);
155 ClassLoader proxyLoader = intfc.getClassLoader();
160 final Method[] methods = getSingleNameMethods(intfc);
162 throw new IllegalArgumentException("not a single-method interface: "+intfc
302 getSingleNameMethods(Class<?> intfc) argument
[all...]

Completed in 1412 milliseconds