From 74241a7cd79f2dda723f07948c7925f9b6511989 Mon Sep 17 00:00:00 2001
From: Yasser Zamani Finds all methods including non public methods of the given class and it's super classes and interfaces
+ * that are annotated with the given annotation. Finds all methods including non public methods of the given class and it's super classes and interfaces
+ * that are annotated with the given annotation. BFS to find the annotation object that is present on the given method or any equivalent method in
+ * super classes and interfaces, with the given annotation type. Returns null if the annotation type was not present
+ * on any of them. BFS to find the annotation object that is present on the given method or any equivalent method in
* super classes and interfaces, with the given annotation type. Returns null if the annotation type was not present
* on any of them. Gets a combination of {@link #getAllSuperclasses}(Class)} and
+ * {@link #getAllInterfaces}(Class)}, one from superclasses, one
+ * from interfaces, and so on in a breadth first way. Finds all methods including non public methods of the given class and it's super classes and interfaces
- * that are annotated with the given annotation. Finds all methods including non public methods of the given class and it's super classes and interfaces
- * that are annotated with the given annotation. BFS to find the annotation object that is present on the given method or any equivalent method in
- * super classes and interfaces, with the given annotation type. Returns null if the annotation type was not present
- * on any of them. Gets the annotation object that is present on the given method or any equivalent method in
+ * super classes and interfaces, with the given annotation type. Returns null if the annotation
+ * type was not present on any of them. Stops searching for an annotation once the first annotation of the specified type has been
+ * found. i.e, additional annotations of the specified type will be silently ignored.'.' == {@value}
.
*/
@@ -456,6 +464,45 @@ public static List'.' == {@value}
.
*/
@@ -470,11 +462,10 @@ public static List
Gets a combination of {@link #getAllSuperclasses}(Class)} and - * {@link #getAllInterfaces}(Class)}, one from superclasses, one - * from interfaces, and so on in a breadth first way.
- * - * @param cls the class to look up, may be {@code null} - * @return the {@code List} of superclasses in order going up from this one - * {@code null} if null input - */ - public static ListGets a combination of {@link ClassUtils#getAllSuperclasses}(Class)} and + * {@link ClassUtils#getAllInterfaces}(Class)}, one from superclasses, one + * from interfaces, and so on in a breadth first way.
+ * + * @param cls the class to look up, may be {@code null} + * @return the combined {@code List} of superclasses and interfaces in order + * going up from this one + * {@code null} if null input + * @since 3.6 + */ + private static List