code: public Type memberType(Type t, Symbol sym) {
          return (sym.flags() & STATIC) != 0
              ? sym.type
              : memberType.visit(t, sym);
          }
docs: The type of given symbol, seen as a member of t.
  
  @param t a type
  @param sym a symbol