class KeyTypeManager {

  public final Set<Class<?>> supportedPrimitives() {
    return factories.keySet();
  }

  @SafeVarargs // Safe because we do not reference the array (see Effective Java ed. 3, Item 32). protected  KeyTypeManager(Class<KeyProtoT> clazz, PrimitiveFactory<?, KeyProtoT>... factories);

}