code: public ProgramElementDoc owner() {
          Symbol osym = type.tsym.owner;
          if ((osym.kind & Kinds.TYP) != 0) {
              return env.getClassDoc((ClassSymbol)osym);
          }
          Names names = osym.name.table.names;
          if (osym.name == names.init) {
              return env.getConstructorDoc((MethodSymbol)osym);
          } else {
              return env.getMethodDoc((MethodSymbol)osym);
          }
      }
docs: Return the class, interface, method, or constructor within
  which this type variable is declared.