code: private <T, V> boolean addToMap(Map<Class<?>, Map<T, V>> proxyMap,
                                      T f,
                                      V proxy) {
          Map<T, V> proxies = proxyMap.get(serviceClass);
          if (proxies == null) {
              proxies = new HashMap<T, V>();
              proxyMap.put(serviceClass, proxies);
          }
          if (!proxies.containsKey(f)) {
              proxies.put(f, proxy);
              return true;
          }
          return false;
      }
docs: Liberty code change start defect 182967