Interface SizeOfFilter

All Known Implementing Classes:
AnnotationSizeOfFilter, CombinationSizeOfFilter, PassThroughFilter, TypeFilter

public interface SizeOfFilter
Filter to filter types or fields of object graphs passed to a SizeOf engine
See Also:
  • Method Details

    • filterFields

      Collection<Field> filterFields(Class<?> klazz, Collection<Field> fields)
      Returns the fields to walk and measure for a type
      Parameters:
      klazz - the type
      fields - the fields already "qualified"
      Returns:
      the filtered Set
    • filterClass

      boolean filterClass(Class<?> klazz)
      Checks whether the type needs to be filtered
      Parameters:
      klazz - the type
      Returns:
      true, if to be filtered out