类 ReflectionUtils


  • public class ReflectionUtils
    extends java.lang.Object
    Provides reflection based utilities for Spring Batch that are not available via Spring Core
    从以下版本开始:
    2.2.6
    作者:
    Michael Minella
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型方法说明
      static java.util.Set<java.lang.reflect.Method>findMethod​(java.lang.Class clazz, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
      Returns a Set of Method instances that are annotated with the annotation provided.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • findMethod

        public static final java.util.Set<java.lang.reflect.Method> findMethod​(java.lang.Class clazz,
                                                                               java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
        Returns a Set of Method instances that are annotated with the annotation provided.
        参数:
        clazz - The class to search for a method with the given annotation type
        annotationType - The type of annotation to look for
        返回:
        a set of Method instances if any are found, an empty set if not.