@Test void equalsAndHashCodeBuilderShouldReturnEqualsAndHashCodeImplBuilder() { EqualsAndHashCodeBuilder<String> builder = Equalizer.equalsAndHashCodeBuilder(String.class); assertThat(builder) .isInstanceOf(EqualsAndHashCodeImpl.Builder.class); }
public static <T> EqualsAndHashCodeBuilder<T> equalsAndHashCodeBuilder(Class<T> targetClass) { return new EqualsAndHashCodeImpl.Builder<>(targetClass); }
Equalizer { public static <T> EqualsAndHashCodeBuilder<T> equalsAndHashCodeBuilder(Class<T> targetClass) { return new EqualsAndHashCodeImpl.Builder<>(targetClass); } }
Equalizer { public static <T> EqualsAndHashCodeBuilder<T> equalsAndHashCodeBuilder(Class<T> targetClass) { return new EqualsAndHashCodeImpl.Builder<>(targetClass); } private  Equalizer(); }
Equalizer { public static <T> EqualsAndHashCodeBuilder<T> equalsAndHashCodeBuilder(Class<T> targetClass) { return new EqualsAndHashCodeImpl.Builder<>(targetClass); } private  Equalizer(); static EqualsBuilder<T> equalsBuilder(Class<T> targetClass); static HashCodeBuilder<T> hashCodeBuilder(); static EqualsAndHashCodeBuilder<T> equalsAndHashCodeBuilder(Class<T> targetClass); }
Equalizer { public static <T> EqualsAndHashCodeBuilder<T> equalsAndHashCodeBuilder(Class<T> targetClass) { return new EqualsAndHashCodeImpl.Builder<>(targetClass); } private  Equalizer(); static EqualsBuilder<T> equalsBuilder(Class<T> targetClass); static HashCodeBuilder<T> hashCodeBuilder(); static EqualsAndHashCodeBuilder<T> equalsAndHashCodeBuilder(Class<T> targetClass);  }