类 Annotationx


  • public class Annotationx
    extends java.lang.Object
    Annotation tool method
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static <T extends java.lang.annotation.Annotation>
      T
      getAnnotationFromEnum​(java.lang.Enum<?> enumObject, java.lang.Class<T> annotationClass)
      Get an annotation of the specified type on an enumeration
      • 从类继承的方法 java.lang.Object

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

      • getAnnotationFromEnum

        @Nullable
        public static <T extends java.lang.annotation.Annotation> T getAnnotationFromEnum​(@NotNull
                                                                                          java.lang.Enum<?> enumObject,
                                                                                          @NotNull
                                                                                          java.lang.Class<T> annotationClass)
        Get an annotation of the specified type on an enumeration