code: private Bwprocesses getBWProcesses(Bw bwService) {
  		for (Object o : bwService.getRest()) {
  			if (o.getClass().equals(Bwprocesses.class)) {
  				return (Bwprocesses) o;
  			}
  		}
  		
  		return null;
  	}
docs: This method retrieves {@link Bwprocesses} object from Bw.getRest() objects