do not force to build ref-graph when it won't be used
IDETalk cleanup — Overrides, remove code duplication — use platform StringUtil or Guava