@Test void shouldSupportCustomFixedAnnotations() { final Set<Label> labels = getLabels(CustomFixedAnnotation.class); assertThat(labels) .extracting(Label::getName, Label::getValue) .contains( tuple("custom", "fixed") ); }
public static Set<Label> getLabels(final AnnotatedElement annotatedElement) { return getLabels(annotatedElement.getDeclaredAnnotations()); }
AnnotationUtils { public static Set<Label> getLabels(final AnnotatedElement annotatedElement) { return getLabels(annotatedElement.getDeclaredAnnotations()); } }
AnnotationUtils { public static Set<Label> getLabels(final AnnotatedElement annotatedElement) { return getLabels(annotatedElement.getDeclaredAnnotations()); } private  AnnotationUtils(); }
AnnotationUtils { public static Set<Label> getLabels(final AnnotatedElement annotatedElement) { return getLabels(annotatedElement.getDeclaredAnnotations()); } private  AnnotationUtils(); static Set<Link> getLinks(final AnnotatedElement annotatedElement); static Set<Link> getLinks(final Annotation... annotations); static Set<Link> getLinks(final Collection<Annotation> annotations); static Set<Label> getLabels(final AnnotatedElement annotatedElement); static Set<Label> getLabels(final Annotation... annotations); static Set<Label> getLabels(final Collection<Annotation> annotations); }
AnnotationUtils { public static Set<Label> getLabels(final AnnotatedElement annotatedElement) { return getLabels(annotatedElement.getDeclaredAnnotations()); } private  AnnotationUtils(); static Set<Link> getLinks(final AnnotatedElement annotatedElement); static Set<Link> getLinks(final Annotation... annotations); static Set<Link> getLinks(final Collection<Annotation> annotations); static Set<Label> getLabels(final AnnotatedElement annotatedElement); static Set<Label> getLabels(final Annotation... annotations); static Set<Label> getLabels(final Collection<Annotation> annotations);  }