static <T> int includeAndAddTo(Map<String, Field<T>> map,
            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 include.");

        int maxFieldNumber = 0;
        Set<String> include = new HashSet<String>();
        Collections.addAll(include, args);
        for (Field<T> field : fields)
        {
            if (include.contains(field.name))
            {
                map.put(field.name, field);
                maxFieldNumber = Math.max(field.number, maxFieldNumber);
            }
        }
        return maxFieldNumber;
    }
@deprecated use {@link io.protostuff.runtime.RuntimeView.Factories#INCLUDE}
protostuff-runtime-view/src/main/java/io/protostuff/runtime/RuntimeView.java