public interface Annotated extends Iterable<Annotation>
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotationsOfType(Class<T> type)
Gets the annotations of a specific type.
|
forEach, iterator, spliterator<T extends Annotation> Iterable<T> getAnnotationsOfType(Class<T> type)
T - the annotation type.type - the type of interest.Copyright © 2021. All rights reserved.