Class Annotations

java.lang.Object
tech.ydb.yoj.util.lang.Annotations

public final class Annotations extends Object
  • Method Details

    • find

      @Nullable public static <A extends Annotation> A find(Class<A> annotation, @Nonnull AnnotatedElement component)
      Find first annotation that matches the class in parameter
      Parameters:
      annotation - - to look for
      component - - entry point to search
      Returns:
      annotation found or null