Class ReflectionUtils
java.lang.Object
org.springframework.batch.support.ReflectionUtils
Provides reflection based utilities for Spring Batch that are not available
via Spring Core
- Since:
- 2.2.6
- Author:
- Michael Minella
-
Method Summary
Modifier and TypeMethodDescriptionfindMethod
(Class clazz, Class<? extends Annotation> annotationType)
-
Method Details
-
findMethod
- Parameters:
clazz
- The class to search for a method with the given annotation typeannotationType
- The type of annotation to look for- Returns:
- a set of
Method
instances if any are found, an empty set if not.
-