code: public String get_class(final DeviceProxy deviceProxy) throws DevFailed {
          checkIfUseDb(deviceProxy, "get_class()");
          if (deviceProxy.getDb_dev() == null) {
              deviceProxy.setDb_dev(new DbDevice(deviceProxy.devname, deviceProxy.url.host,
                  deviceProxy.url.strPort));
          }
          checkIfTango(deviceProxy, "get_class");
  
          final String classname = super.get_class_name(deviceProxy);
          if (classname != null) {
              return classname;
          } else {
              return deviceProxy.getDb_dev().get_class();
          }
      }
docs: ==========================================================================