Class AnnotationUtil


  • public final class AnnotationUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T extends java.lang.annotation.Annotation>
      T
      getClassAnnotationForClass​(java.lang.Class<T> annotation, java.lang.Class<?> classFromThread)  
      static <T extends java.lang.annotation.Annotation>
      T
      getMethodAnnotationForMethod​(java.lang.Class<T> annotation, java.lang.Class<?> classFromThread, java.lang.String methodNameFromThread)  
      • Methods inherited from class java.lang.Object

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

      • getClassAnnotationForClass

        public static <T extends java.lang.annotation.Annotation> T getClassAnnotationForClass​(java.lang.Class<T> annotation,
                                                                                               java.lang.Class<?> classFromThread)
      • getMethodAnnotationForMethod

        public static <T extends java.lang.annotation.Annotation> T getMethodAnnotationForMethod​(java.lang.Class<T> annotation,
                                                                                                 java.lang.Class<?> classFromThread,
                                                                                                 java.lang.String methodNameFromThread)