code: public String resolveValue(final String value) {
          if (value == null) {
              return null;
          }
  
          final String sharedValue = valuePool.get(value);
          if (sharedValue != null) {
              return sharedValue;
          }
  
          valuePool.put(value, value);
          return value;
      }
docs: Resolve a {@link String} against the string pool to obtain the canonical
  instance of the string.
  
  @param value {@link String} the string to obtain canonical reference for
  @return {@link String} the canonical reference for the string