@Test public void testIteratorProvidesExpectedAnnotations() { assertThat(this.testee.iterator()).toIterable().containsOnly(this.allAnnotations.toArray(new Annotation[]{})); }
@Override @Nonnull public Iterator<Annotation> iterator() { return readOnly(getAnnotationMap().values().iterator()); }
Annotations implements Iterable<Annotation> { @Override @Nonnull public Iterator<Annotation> iterator() { return readOnly(getAnnotationMap().values().iterator()); } }
Annotations implements Iterable<Annotation> { @Override @Nonnull public Iterator<Annotation> iterator() { return readOnly(getAnnotationMap().values().iterator()); } Annotations(AnnotatedElement annotatedElement); }
Annotations implements Iterable<Annotation> { @Override @Nonnull public Iterator<Annotation> iterator() { return readOnly(getAnnotationMap().values().iterator()); } Annotations(AnnotatedElement annotatedElement); static Annotations annotations(AnnotatedElement annotatedElement); boolean contains(Class<? extends Annotation> type); boolean containsName(String name); @SuppressWarnings("unchecked") T get(Class<T> type); Stream<Annotation> stream(); @Override @Nonnull Iterator<Annotation> iterator(); Map<Class<? extends Annotation>, Annotation> getAnnotations(); }
Annotations implements Iterable<Annotation> { @Override @Nonnull public Iterator<Annotation> iterator() { return readOnly(getAnnotationMap().values().iterator()); } Annotations(AnnotatedElement annotatedElement); static Annotations annotations(AnnotatedElement annotatedElement); boolean contains(Class<? extends Annotation> type); boolean containsName(String name); @SuppressWarnings("unchecked") T get(Class<T> type); Stream<Annotation> stream(); @Override @Nonnull Iterator<Annotation> iterator(); Map<Class<? extends Annotation>, Annotation> getAnnotations();  }