Package nl.pim16aap2.util.reflection
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 TypeMethodDescriptionwithAnnotations(Class<? extends Annotation>... annotations) Adds a requirement that the target constructor should contain at least a set of given annotations.
-
Method Details
-
withAnnotations
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.
-