code: public boolean isExported(String pn, String target) {
          return isExported(pn)
                  || exports.containsKey(pn) && exports.get(pn).contains(target);
      }
docs: Tests if the package of the given name is exported to the target
  in a qualified fashion.