public class PassThroughFilter extends Object implements SizeOfFilter
Constructor and Description |
---|
PassThroughFilter() |
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 typefalse
, if to be filtered outCopyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.