Class ReflectionUtils


  • public class ReflectionUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ReflectionUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T extends java.lang.reflect.Executable>
      T
      findAnnotatedExecutable​(T[] items, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)  
      static java.util.List<? extends java.lang.reflect.Executable> findAnnotatedExecutables​(java.lang.Class<?> type, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)  
      static <T extends java.lang.reflect.Executable>
      java.util.List<T>
      findAnnotatedExecutables​(T[] items, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)  
      static <T extends java.lang.reflect.Executable>
      T
      findExecutable​(java.lang.Class<?> type, java.lang.Class<?> outputType)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReflectionUtils

        public ReflectionUtils()
    • Method Detail

      • findAnnotatedExecutable

        public static <T extends java.lang.reflect.Executable> T findAnnotatedExecutable​(T[] items,
                                                                                         java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
      • findAnnotatedExecutables

        public static <T extends java.lang.reflect.Executable> java.util.List<T> findAnnotatedExecutables​(T[] items,
                                                                                                          java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
      • findAnnotatedExecutables

        public static java.util.List<? extends java.lang.reflect.Executable> findAnnotatedExecutables​(java.lang.Class<?> type,
                                                                                                      java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
      • findExecutable

        public static <T extends java.lang.reflect.Executable> T findExecutable​(java.lang.Class<?> type,
                                                                                java.lang.Class<?> outputType)