private static class JdkAugmenter.JdkHandler<X>
extends com.google.common.reflect.AbstractInvocationHandler
implements java.lang.reflect.InvocationHandler
Modifier and Type | Field and Description |
---|---|
private RemoteWebDriver |
driver |
private java.util.Map<java.lang.reflect.Method,InterfaceImplementation> |
handlers |
private X |
realInstance |
Modifier | Constructor and Description |
---|---|
private |
JdkHandler(RemoteWebDriver driver,
X realInstance,
java.util.Map<java.lang.reflect.Method,InterfaceImplementation> handlers) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
handleInvocation(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
equals, hashCode, invoke, toString
private final RemoteWebDriver driver
private final X realInstance
private final java.util.Map<java.lang.reflect.Method,InterfaceImplementation> handlers
private JdkHandler(RemoteWebDriver driver, X realInstance, java.util.Map<java.lang.reflect.Method,InterfaceImplementation> handlers)
public java.lang.Object handleInvocation(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
handleInvocation
in class com.google.common.reflect.AbstractInvocationHandler
java.lang.Throwable