net.jqwik.engine.support.JqwikStringSupport Maven / Gradle / Ivy
The newest version!
package net.jqwik.engine.support;
import java.io.*;
import java.util.*;
import java.util.stream.*;
import org.junit.platform.commons.support.*;
public class JqwikStringSupport {
public static String parameterTypesToString(Class>... classes) {
return ClassSupport.nullSafeToString(classes);
}
public static String displayString(Object object) {
if (object == null)
return "null";
if (object instanceof Class) {
return ((Class) object).getName();
}
if (object instanceof Collection) {
@SuppressWarnings("unchecked")
Collection