Interface IAnnotationFinder<T>

All Known Implementing Classes:
ConstructorFinder.ConstructorFinderInSource, FieldFinder.MultipleFieldsFinder, FieldFinder.NamedFieldFinder, FieldFinder.TypedFieldFinder, MethodFinder.MethodFinderBase

public interface IAnnotationFinder<T>
Allows specifying a set of annotations that a reflection object should have.
  • Method Summary

    Modifier and Type
    Method
    Description
    withAnnotations(Class<? extends Annotation>... annotations)
    Adds a requirement that the target constructor should contain at least a set of given annotations.
  • Method Details

    • withAnnotations

      T withAnnotations(Class<? extends Annotation>... annotations)
      Adds a requirement that the target constructor should contain at least a set of given annotations.
      Parameters:
      annotations - The annotations the constructor should have.
      Returns:
      The current object.