static <T> HashMap<String, Field<T>> copyAndExclude(Class<? super T> typeClass,
            List<Field<T>> fields, final Predicate predicate)
    {
        final HashMap<String, Field<T>> map = new HashMap<String, Field<T>>();
        for (Field<T> field : fields)
        {
            if (!predicate.apply(field))
            {
                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