protected static Type getTypeReferenceForName(String className, String... genericTypes) {
        String referenceString = getTypeDescriptor(className, genericTypes);
        return Type.getType(referenceString);
    }
protected static Type getTypeReferenceForName ( String className , String ... genericTypes ) { String referenceString = getTypeDescriptor ( className , genericTypes ) ; return Type . getType ( referenceString ) ; }
Returns the Type reference corresponding to the given class.

@param className    The class name
@param genericTypes The generic types
@return The {@link Type}