Class TypeFilter
java.lang.Object
org.ehcache.sizeof.filters.TypeFilter
- All Implemented Interfaces:
SizeOfFilter
- Author:
- Alex Snaps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanfilterClass(Class<?> klazz) Checks whether the type needs to be filteredfilterFields(Class<?> klazz, Collection<Field> fields) Returns the fields to walk and measure for a type
-
Constructor Details
-
TypeFilter
public TypeFilter()
-
-
Method Details
-
filterFields
Description copied from interface:SizeOfFilterReturns the fields to walk and measure for a type- Specified by:
filterFieldsin interfaceSizeOfFilter- Parameters:
klazz- the typefields- the fields already "qualified"- Returns:
- the filtered Set
-
filterClass
Description copied from interface:SizeOfFilterChecks whether the type needs to be filtered- Specified by:
filterClassin interfaceSizeOfFilter- Parameters:
klazz- the type- Returns:
- true, if to be filtered out
-
addClass
-
addField
-