code: public ClassSymbol outermostClass() {
          Symbol sym = this;
          Symbol prev = null;
          while (sym.kind != PCK) {
              prev = sym;
              sym = sym.owner;
          }
          return (ClassSymbol) prev;
      }
docs: The outermost class which indirectly owns this symbol.