org.fluentlenium.core.inject.ComponentAndProxy Maven / Gradle / Ivy
package org.fluentlenium.core.inject;
/**
* Object for storing component and proxy pairs during field injection.
*
* @param the component type
* @param the proxy type
* @see FluentInjector
*/
final class ComponentAndProxy {
private final T component;
private final P proxy;
ComponentAndProxy(T component, P proxy) {
this.component = component;
this.proxy = proxy;
}
public T getComponent() {
return component;
}
public P getProxy() {
return proxy;
}
}