Polishing

This commit is contained in:
Sam Brannen 2019-08-03 00:13:30 +02:00
parent 63bf1bff23
commit c2f5dabeee
2 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,7 @@ public abstract class MergedAnnotationPredicates {
/**
* Create a new stateful, single use {@link Predicate} that matches
* annotations that are unique based on the extracted key. For example
* {@code MergedAnnotationPredicates.unique(MergedAnnotation::type)} will
* {@code MergedAnnotationPredicates.unique(MergedAnnotation::getType)} will
* match the first time a unique type is encountered.
* @param keyExtractor function used to extract the key used to test for
* uniqueness

View File

@ -49,6 +49,7 @@ public interface AnnotatedTypeMetadata {
* Return annotation details based on the direct annotations of the
* underlying element.
* @return merged annotations based on the direct annotations
* @since 5.2
*/
MergedAnnotations getAnnotations();