public static boolean isCollectionType ( final Type type ) { return isParameterizedType ( type ) && isCollectionType ( ( Class < ? > ) ( ( ParameterizedType ) type ) . getRawType ( ) ) ; }
Check if a type is a collection type .