src/main/java/org/ehcache/sizeof/filters/AnnotationSizeOfFilter.java
public Collection<Field> filterFields(Class<?> klazz, Collection<Field> fields) {
        for (Iterator<Field> it = fields.iterator(); it.hasNext(); ) {

            Field field = it.next();
            IgnoreSizeOf annotationOnField = getAnnotationOn(field, IgnoreSizeOf.class, IGNORE_SIZE_OF_PATTERN);
            if (annotationOnField != null) {
                it.remove();
            }
        }
        return fields;
    }
public Collection<Field> filterFields(Class<?> klazz, Collection<Field> fields) {
        for (Iterator<Field> it = fields.iterator(); it.hasNext(); ) {

            Field field = it.next();
            IgnoreSizeOf annotationOnField = getAnnotationOn(field, IgnoreSizeOf.class, IGNORE_SIZE_OF_PATTERN);
            if (annotationOnField != null) {
                it.remove();
            }
        }
        return fields;
    }
public Collection < Field > filterFields ( Class < ? > klazz , Collection < Field > fields ) { for ( Iterator < Field > it = fields . iterator ( ) ; it . hasNext ( ) ; ) { Field field = it . next ( ) ; IgnoreSizeOf annotationOnField = getAnnotationOn ( field , IgnoreSizeOf . class , IGNORE_SIZE_OF_PATTERN ) ; if ( annotationOnField != null ) { it . remove ( ) ; } } return fields ; }
{@inheritDoc}
{