public static boolean isParameterizedType ( final Type type ) { return type != null && type instanceof ParameterizedType && ( ( ParameterizedType ) type ) . getActualTypeArguments ( ) . length > 0 ; }
Check if a type is a parameterized type