Source code: javax/ide/model/java/declaration/HasAnnotationsD.java
1 /*
2 * @(#)HasAnnotationsD.java
3 */
4
5 package javax.ide.model.java.declaration;
6
7 import java.util.Collection;
8
9 /**
10 * Common supertype for Mirror elements that may have annotations.
11 *
12 * @author Andy Yu
13 */
14 public interface HasAnnotationsD
15 extends Declaration
16 {
17 /**
18 * Gets the annotations on this element.
19 *
20 * @return The collection of annotation declarations for the annotations
21 * on this element. <p/>
22 *
23 * Collection of AnnotationDs.
24 */
25 public Collection getAnnotations();
26 }