Find zero or one instance of the given Annotation on the class.
Find zero or one instance of the given Annotation on the class.
Returns None
when the class is not annotated, or
Some(A)
when there was only
one instance of the annotation found on the class.
The type of the Annotation to return.
the class to search.
the found Annotation.
when there was more then one annotation found one the class.
Finds all Annotations of the given type for the given class.
Finds all Annotations of the given type for the given class.
The type of the Annotation to search for.
the class to search.
a Seq of all found Annotations.
Returns the WrapWith Annotation of the given class.
Returns the WrapWith Annotation of the given class.
the class to search.
the found Annotation.
when there was more then one annotation found one the class.
Returns the instance of the given Annotation found on the class.
Returns the instance of the given Annotation found on the class.
The type of the Annotation to return.
the class to search.
The instance of the Annotation of the given Type
when there was not exactly one instance of the annotation found one the class.
A Helper Object to find an Annotation on a given class and all of its superclasses, interfaces and traits.