code: public boolean isLocal() {
          return
              (owner.kind.matches(KindSelector.VAL_MTH) ||
               (owner.kind == TYP && owner.isLocal()));
      }
docs: Is this symbol declared (directly or indirectly) local
  to a method or variable initializer?
  Also includes fields of inner classes which are in
  turn local to a method or variable initializer.