code: private static void packageSpecifier(Result sb, TypeMirror type) throws IOException
      {
          switch (type.getKind())
          {
              case DECLARED:
                  DeclaredType dt = (DeclaredType) type;
                  PackageElement pkg = El.getPackageOf(dt.asElement());
                  sb.append(pkg.getQualifiedName().toString().replace('.', '/'));
                  sb.append('/');
                  break;
              default:
                  throw new UnsupportedOperationException(type.getKind()+" unsupported");
          }
      }
docs: PackageSpecifier:
  Identifier / PackageSpecifier*
  @param sb
  @param type