|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Annotations
Interface that defines interface for accessing contents of a collection of annotations. This is needed when introspecting annotation-based features from different kinds of things, not just objects that Java Reflection interface exposes.
Standard mutable implementation is AnnotationMap
| Method Summary | ||
|---|---|---|
|
get(Class<A> cls)
Main access method used to find value for given annotation. |
|
int |
size()
Returns number of annotation entries in this collection. |
|
| Method Detail |
|---|
<A extends Annotation> A get(Class<A> cls)
int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||