Class MethodAnnotations


  • @Deprecated
    public class MethodAnnotations
    extends java.lang.Object
    Deprecated.
    Old implementation used this.
    Implementation detail, utility class for handling method annotations.
    • Constructor Summary

      Constructors 
      Constructor Description
      MethodAnnotations()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static <T extends java.lang.annotation.Annotation>
      java.util.Optional<T>
      get​(java.lang.reflect.Method from, java.lang.Class<T> ofClass)
      Deprecated.
       
      <T extends java.lang.annotation.Annotation>
      java.util.Collection<T>
      getAnnotations​(java.lang.Class<T> ofType)
      Deprecated.
       
      <T extends java.lang.annotation.Annotation>
      java.util.Map<java.lang.reflect.Method,​T>
      getMethodAnnotations​(java.lang.Class<T> ofType)
      Deprecated.
       
      static boolean hasAnyOf​(java.lang.reflect.Method method, java.lang.Class<?>... annotationClasses)
      Deprecated.
       
      boolean isEmpty()
      Deprecated.
       
      <T extends java.lang.annotation.Annotation>
      void
      put​(java.lang.reflect.Method method, java.lang.Class<T> annotationClass, T annotation)
      Deprecated.
       
      java.lang.String toString()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • MethodAnnotations

        public MethodAnnotations()
        Deprecated.
    • Method Detail

      • hasAnyOf

        public static boolean hasAnyOf​(java.lang.reflect.Method method,
                                       java.lang.Class<?>... annotationClasses)
        Deprecated.
      • get

        public static <T extends java.lang.annotation.Annotation> java.util.Optional<T> get​(java.lang.reflect.Method from,
                                                                                            java.lang.Class<T> ofClass)
        Deprecated.
      • put

        public <T extends java.lang.annotation.Annotation> void put​(java.lang.reflect.Method method,
                                                                    java.lang.Class<T> annotationClass,
                                                                    T annotation)
        Deprecated.
      • getMethodAnnotations

        public <T extends java.lang.annotation.Annotation> java.util.Map<java.lang.reflect.Method,​T> getMethodAnnotations​(java.lang.Class<T> ofType)
        Deprecated.
      • getAnnotations

        public <T extends java.lang.annotation.Annotation> java.util.Collection<T> getAnnotations​(java.lang.Class<T> ofType)
        Deprecated.
      • isEmpty

        public boolean isEmpty()
        Deprecated.
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object