org.hibernate.validator.internal.util.classfilter
Interface ClassFilter


public interface ClassFilter

A filter to be used when invoking ReflectionHelper.computeClassHierarchy(Class, ClassFilter...).

Author:
Gunnar Morling

Method Summary
 boolean accepts(Class<?> clazz)
          Whether the given class is accepted by this filter or not.
 

Method Detail

accepts

boolean accepts(Class<?> clazz)
Whether the given class is accepted by this filter or not.

Parameters:
clazz - the class of interest
Returns:
true if this filter accepts the given class (meaning it will be contained in the result of ReflectionHelper.computeClassHierarchy(Class, ClassFilter...) , false otherwise.


Copyright © 2007-2013 Red Hat Middleware, LLC. All Rights Reserved