public final class AnnotationSizeOfFilter extends Object implements SizeOfFilter
IgnoreSizeOf
annotationConstructor and Description |
---|
AnnotationSizeOfFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
filterClass(Class<?> klazz)
Checks whether the type needs to be filtered
|
Collection<Field> |
filterFields(Class<?> klazz,
Collection<Field> fields)
Returns the fields to walk and measure for a type
|
public Collection<Field> filterFields(Class<?> klazz, Collection<Field> fields)
filterFields
in interface SizeOfFilter
klazz
- the typefields
- the fields already "qualified"public boolean filterClass(Class<?> klazz)
filterClass
in interface SizeOfFilter
klazz
- the typeCopyright © 2003–2016 Terracotta, Inc.. All rights reserved.