code: public final void add(
        final GeneratedMessageLite.GeneratedExtension<?, ?> extension) {
      extensionsByNumber.put(
        new ObjectIntPair(extension.getContainingTypeDefaultInstance(),
                          extension.getNumber()),
        extension);
    }
docs: Add an extension from a lite generated file to the registry.