question: public static boolean matchesTypeName ( Class < ? > clazz , String typeName ) { return ( typeName != null && ( typeName . equals ( clazz . getName ( ) ) || typeName . equals ( clazz . getSimpleName ( ) ) || ( clazz . isArray ( ) && typeName . equals ( getQualifiedNameForArray ( clazz ) ) ) ) ) ; }
target:  Check whether the given class matches the user-specified type name.