code: public ClassSymbol enclClass() {
          Symbol c = this;
          while (c != null &&
                 ((c.kind & TYP) == 0 || !c.type.hasTag(CLASS))) {
              c = c.owner;
          }
          return (ClassSymbol)c;
      }
docs: The closest enclosing class of this symbol's declaration.