public ContextChain getRootContextChain() {
    return mParent == null ? this : mParent.getRootContextChain();
  }
Get the top level context chain, which can be the current context chain itself.
fbcore/src/main/java/com/facebook/common/callercontext/ContextChain.java