code: private String packageAppend(String origPackage, String suffix) {
      if (origPackage == null) {
        return suffix;
      } else {
        return origPackage + "." + suffix;
      }
    }
docs: Prepend the package to the suffix taking null into account.