public static String getQualifiedName(Class<?> clazz) {
        Preconditions.checkNotNull(clazz, "Class must not be null");
        if (clazz.isArray()) {
            return getQualifiedNameForArray(clazz);
        } else {
            return clazz.getName();
        }
    }
public static String getQualifiedName(Class<?> clazz) {
        Preconditions.checkNotNull(clazz, "Class must not be null");
        if (clazz.isArray()) {
            return getQualifiedNameForArray(clazz);
        } else {
            return clazz.getName();
        }
    }
public static String getQualifiedName ( Class < ? > clazz ) { Preconditions . checkNotNull ( clazz , "Class must not be null" ) ; if ( clazz . isArray ( ) ) { return getQualifiedNameForArray ( clazz ) ; } else { return clazz . getName ( ) ; } }
Return the qualified name of the given class: usually simply
the class name, but component type class name + "[]" for arrays.

@param clazz the class
@return the qualified name of the class
Return the qualified name of the given class : usually simply the class name but component type class name + [] for arrays .