Class InheritedMethodsHelper
java.lang.Object
org.hibernate.validator.cdi.internal.InheritedMethodsHelper
Deals with methods of types in inheritance hierarchies.
- Author:
- Hardy Ferentschik, Gunnar Morling
-
Method Summary
Modifier and TypeMethodDescriptiongetAllMethods
(Class<?> clazz) Get a list of all methods which the given class declares, implements, overrides or inherits.
-
Method Details
-
getAllMethods
Get a list of all methods which the given class declares, implements, overrides or inherits. Methods are added by adding first all methods of the class itself and its implemented interfaces, then the super class and its interfaces, etc.- Parameters:
clazz
- the class for which to retrieve the methods- Returns:
- set of all methods of the given class
-