public interface Annotations
Standard mutable implementation is AnnotationMap
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
get(Class<A> cls)
Main access method used to find value for given annotation.
|
boolean |
has(Class<?> cls) |
boolean |
hasOneOf(Class<? extends Annotation>[] annoClasses) |
int |
size()
Returns number of annotation entries in this collection.
|
<A extends Annotation> A get(Class<A> cls)
boolean has(Class<?> cls)
boolean hasOneOf(Class<? extends Annotation>[] annoClasses)
int size()
Copyright © 2019 JBoss by Red Hat. All rights reserved.