@Test @DisplayName(NOT_ACCEPT_NULLS) void passNullToleranceCheck() { new NullPointerTester() .setDefault(TypeUrl.class, TypeUrl.of(Empty.class)) .setDefault(BoundedContextName.class, newName("default")) .testAllPublicStaticMethods(StorageSpec.class); }
public static <I> StorageSpec<I> of(BoundedContextName context, TypeUrl entityStateUrl, Class<I> idClass) { checkNotDefaultArg(context); checkNotNull(entityStateUrl); checkNotNull(idClass); return new StorageSpec<>(context, entityStateUrl, idClass); }
StorageSpec implements Serializable { public static <I> StorageSpec<I> of(BoundedContextName context, TypeUrl entityStateUrl, Class<I> idClass) { checkNotDefaultArg(context); checkNotNull(entityStateUrl); checkNotNull(idClass); return new StorageSpec<>(context, entityStateUrl, idClass); } }
StorageSpec implements Serializable { public static <I> StorageSpec<I> of(BoundedContextName context, TypeUrl entityStateUrl, Class<I> idClass) { checkNotDefaultArg(context); checkNotNull(entityStateUrl); checkNotNull(idClass); return new StorageSpec<>(context, entityStateUrl, idClass); } private  StorageSpec(BoundedContextName context, TypeUrl entityStateUrl, Class<I> idClass); }
StorageSpec implements Serializable { public static <I> StorageSpec<I> of(BoundedContextName context, TypeUrl entityStateUrl, Class<I> idClass) { checkNotDefaultArg(context); checkNotNull(entityStateUrl); checkNotNull(idClass); return new StorageSpec<>(context, entityStateUrl, idClass); } private  StorageSpec(BoundedContextName context, TypeUrl entityStateUrl, Class<I> idClass); static StorageSpec<I> of(BoundedContextName context, TypeUrl entityStateUrl, Class<I> idClass); @Deprecated BoundedContextName getBoundedContextName(); BoundedContextName context(); @Deprecated TypeUrl getEntityStateUrl(); TypeUrl entityStateUrl(); @Deprecated Class<I> getIdClass(); Class<I> idClass(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
StorageSpec implements Serializable { public static <I> StorageSpec<I> of(BoundedContextName context, TypeUrl entityStateUrl, Class<I> idClass) { checkNotDefaultArg(context); checkNotNull(entityStateUrl); checkNotNull(idClass); return new StorageSpec<>(context, entityStateUrl, idClass); } private  StorageSpec(BoundedContextName context, TypeUrl entityStateUrl, Class<I> idClass); static StorageSpec<I> of(BoundedContextName context, TypeUrl entityStateUrl, Class<I> idClass); @Deprecated BoundedContextName getBoundedContextName(); BoundedContextName context(); @Deprecated TypeUrl getEntityStateUrl(); TypeUrl entityStateUrl(); @Deprecated Class<I> getIdClass(); Class<I> idClass(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }