code: public static <C> C getProxy(final Class<C> configInterface, final Optional<String> scopeNameOpt)
      {
          final ClassAndScope key = new ClassAndScope(configInterface, scopeNameOpt);
  
          final C methodIdProxy;
          if (proxyMap.containsKey(key)) {
              methodIdProxy = (C) proxyMap.get(key);
          }
          else {
              methodIdProxy = createMethodIdProxy(configInterface, scopeNameOpt);
              proxyMap.put(key, methodIdProxy);
          }
          return methodIdProxy;
      }
docs: Produces a proxy impl of a configuration interface to identify methods called on it