Determines if the given Annotation has an annotation type of the given type param.
Determines if the given Annotation has an annotation type of the given type param.
the type to match against.
the Annotation to match.
true if the given Annotation is of type A, false otherwise.
Filters a list of annotations by annotation type discriminated by the set of given annotations.
Filters a list of annotations by annotation type discriminated by the set of given annotations.
the Set of Annotation classes by which to filter.
the list Annotation instances to filter.
the filtered list of matching annotations.
Filter a list of annotations discriminated on whether the annotation is itself annotated with the passed annotation.
Filter a list of annotations discriminated on whether the annotation is itself annotated with the passed annotation.
the type of the annotation by which to filter.
the list of Annotation instances to filter.
the filtered list of matching annotations.
Find an Annotation within a given list of annotations annotated by the given type param.
Find an Annotation within a given list of annotations annotated by the given type param.
the type of the Annotation to find.
the list of Annotation instances to search.
the matching Annotation instance if found, otherwise None.
Find an Annotation within a given list of annotations of the given target.
Find an Annotation within a given list of annotations of the given target. annotation type.
the class of the Annotation to find.
the list of Annotation instances to search.
the matching Annotation instance if found, otherwise None.
Attempts to find annotations per case class
field returning a mapping of field name to list
of any found annotations.
Attempts to find annotations per case class
field returning a mapping of field name to list
of any found annotations.
the Class
to inspect. This should represent a Scala case class.
the list of case class fields.
a mapping of field name to list of annotations.
IMPORTANT: this is only intended for Scala case classes as it only tries to find annotations on constructors of the given class.
Determines if the given A is annotated by an Annotation of the given type param ToFindAnnotation.
Determines if the given A is annotated by an Annotation of the given type param ToFindAnnotation.
the Annotation to match.
the type of the Annotation to determine if is annotated on the A.
true if the given Annotation is annotated with an Annotation of type ToFindAnnotation, false otherwise.
Determines if the given Annotation is annotated by an Annotation of the given type param.
Determines if the given Annotation is annotated by an Annotation of the given type param.
the type of the Annotation to determine if is annotated on the Annotation.
the Annotation to match.
true if the given Annotation is annotated with an Annotation of type A, false otherwise.
Utility methods for dealing with java.lang.annotation.Annotation