@Override
    public Class<Aead> getPrimitiveClass() {
      return Aead.class;
    }
Thread safety tests for {@link Registry}.
java_src/src/test/java/com/google/crypto/tink/RegistryMultithreadTest.java