static <T> HashMap<String, Field<T>> copyAndExclude(Class<? super T> typeClass,
            List<Field<T>> fields, final String[] args)
    {
        if (args == null || args.length == 0)
            throw new IllegalArgumentException("You must provide at least 1 field to exclude.");

        HashMap<String, Field<T>> map = new HashMap<String, Field<T>>();
        Set<String> exclude = new HashSet<String>();
        Collections.addAll(exclude, args);

        for (Field<T> field : fields)
        {
            if (!exclude.contains(field.name))
            {
                map.put(field.name, field);
            }
        }
        return map;
    }
@deprecated use {@link io.protostuff.runtime.RuntimeView.Factories#INCLUDE}
protostuff-runtime-view/src/main/java/io/protostuff/runtime/RuntimeView.java