Class MethodAnnotations

java.lang.Object
com.djrapitops.plan.extension.extractor.MethodAnnotations

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

    • MethodAnnotations

      public MethodAnnotations()
      Deprecated.
  • Method Details

    • hasAnyOf

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

      public static <T extends Annotation> Optional<T> get(Method from, Class<T> ofClass)
      Deprecated.
    • put

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

      public <T extends Annotation> Map<Method,T> getMethodAnnotations(Class<T> ofType)
      Deprecated.
    • getAnnotations

      public <T extends Annotation> Collection<T> getAnnotations(Class<T> ofType)
      Deprecated.
    • isEmpty

      public boolean isEmpty()
      Deprecated.
    • toString

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