class Transformers {

   static Optional<GoogleDeviceInfo> modelToDeviceInfo(Model m) {
      if(m == null || !m.supports(DeviceCapability.NAMESPACE)) {
         return Optional.empty();
      }

      GoogleDeviceInfo info = new GoogleDeviceInfo();
      info.setManufacturer(DeviceModel.getVendor(m));
      info.setModel(DeviceModel.getModel(m));
      return Optional.of(info);
   }

   private  Transformers();

}