Modifier and Type | Class and Description |
---|---|
public static enum | AnnotationSource.Empty
An annotation source that does not declare any annotations. |
public static class | AnnotationSource.Explicit
An annotation source that declares a given list of annotations. |
Modifier and Type | Method and Description |
---|---|
public AnnotationList | Returns: A list of declared annotations.Returns a list of annotations that are declared by this instance. |
getDeclaredAnnotations | back to summary |
---|---|
public AnnotationList getDeclaredAnnotations() Returns a list of annotations that are declared by this instance.
|
Modifier and Type | Field and Description |
---|---|
public static final AnnotationSource. | INSTANCE
The singleton instance. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public AnnotationList | getDeclaredAnnotations()
Implements net. |
public static AnnotationSource. | |
public static AnnotationSource. |
INSTANCE | back to summary |
---|---|
public static final AnnotationSource. The singleton instance. |
Empty | back to summary |
---|---|
private Empty() |
getDeclaredAnnotations | back to summary |
---|---|
public AnnotationList getDeclaredAnnotations() Implements net. Doc from net. Returns a list of annotations that are declared by this instance.
|
valueOf | back to summary |
---|---|
public static AnnotationSource. |
values | back to summary |
---|---|
public static AnnotationSource. |
Modifier and Type | Field and Description |
---|---|
private final List | annotations
The represented annotations. |
Access | Constructor and Description |
---|---|
public | Explicit(AnnotationDescription...
The represented annotations. annotation)Creates a new explicit annotation source. |
public | Explicit(List<? extends AnnotationDescription>
The represented annotations. annotations)Creates a new explicit annotation source. |
Modifier and Type | Method and Description |
---|---|
public AnnotationList | getDeclaredAnnotations()
Implements net. |
annotations | back to summary |
---|---|
private final List<? extends AnnotationDescription> annotations The represented annotations. |
Explicit | back to summary |
---|---|
public Explicit(AnnotationDescription... annotation) Creates a new explicit annotation source.
|
Explicit | back to summary |
---|---|
public Explicit(List<? extends AnnotationDescription> annotations) Creates a new explicit annotation source.
|
getDeclaredAnnotations | back to summary |
---|---|
public AnnotationList getDeclaredAnnotations() Implements net. Doc from net. Returns a list of annotations that are declared by this instance.
|