public interface ModifiersInfo
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Annotation> |
getAnnotation(java.lang.String name)
Returns one (or more - introduced in Java 8) annotations with a given name.
|
java.util.Map<java.lang.String,java.util.Collection<Annotation>> |
getAnnotations()
Returns a multi-map of all annotations - one key (annotation name) may contain mutliple values
(i.e.
|
int |
getMask() |
int getMask()
@NotNull java.util.Collection<Annotation> getAnnotation(@NotNull java.lang.String name)
name
- name of the annotation to search@NotNull java.util.Map<java.lang.String,java.util.Collection<Annotation>> getAnnotations()