code: String packageName() {
      for (Object context : contextStack) {
        if (context instanceof ProtoFile) return ((ProtoFile) context).packageName();
      }
      return null;
    }
docs: Returns the current package name from the context stack.