public static String classToString(Class<?> clazz) {
        requireNonNull(clazz, "Class is null.");
        if (clazz.isArray()) {
            final Class<?> original = clazz.getComponentType();
            return classToString(original) + "[]";
        } else {
            return clazz.getName();
        }
    }
Returns the full name of the specified type (including the array brackets
if it is an array class).

@param  clazz  class
@return the absolute class name
runtime-parent/runtime-config/src/main/java/com/speedment/runtime/config/util/ClassUtil.java