Module nl.jqno.equalsverifier
Class InstantiationUtil
java.lang.Object
nl.jqno.equalsverifier.internal.valueproviders.InstantiationUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeTagdetermineGenericType(TypeTag tag, int index) valuesFor(Field f, TypeTag enclosingType, ValueProvider vp, Attributes attributes) static <A,B, R> Optional <R> zip(Optional<A> a, Optional<B> b, BiFunction<? super A, ? super B, ? extends R> mapper)
-
Field Details
-
OBJECT
-
-
Constructor Details
-
InstantiationUtil
private InstantiationUtil()
-
-
Method Details
-
valuesFor
public static Tuple<Object> valuesFor(Field f, TypeTag enclosingType, ValueProvider vp, Attributes attributes) -
determineGenericType
-
zip
public static <A,B, Optional<R> zipR> (Optional<A> a, Optional<B> b, BiFunction<? super A, ? super B, ? extends R> mapper)
-