class InjectorImpl implements Serializable, Injector {

    @Override
    public <T> T inject(final T instance) {
        if (instance == null) {
            return null;
        }
        doInject(instance.getClass(), unwrap(instance));
        return instance;
    }

}