code: public static ConnectionInformation fromDriver(Driver driver) {
      final ConnectionInformation connectionInformation = new ConnectionInformation();
      connectionInformation.driver = driver;
      return connectionInformation;
    }
docs: Creates a new {@link ConnectionInformation} instance for a {@link Connection} which will be obtained via a
  {@link Driver}
  
  @param driver                the {@link Driver} which created the {@link #connection}
  @return a new {@link ConnectionInformation} instance