public final class AnnotationSizeOfFilter extends Object implements SizeOfFilter
IgnoreSizeOf annotation| Constructor 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 SizeOfFilterklazz - the typefields - the fields already "qualified"public boolean filterClass(Class<?> klazz)
filterClass in interface SizeOfFilterklazz - the typefalse, if to be filtered outCopyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.