code: JCTree typeDeclaration(JCModifiers mods, Comment docComment) {
          int pos = token.pos;
          if (mods == null && token.kind == SEMI) {
              nextToken();
              return toP(F.at(pos).Skip());
          } else {
              return classOrInterfaceOrEnumDeclaration(modifiersOpt(mods), docComment);
          }
      }
docs: TypeDeclaration = ClassOrInterfaceOrEnumDeclaration
  | ";"