@HashCodeAndEqualsPlugin.Enhance public static class AnnotationSource.Explicit extends java.lang.Object implements AnnotationSource
AnnotationSource.Empty, AnnotationSource.Explicit| Modifier and Type | Field and Description |
|---|---|
private java.util.List<? extends AnnotationDescription> |
annotations
The represented annotations.
|
| Constructor and Description |
|---|
Explicit(AnnotationDescription... annotation)
Creates a new explicit annotation source.
|
Explicit(java.util.List<? extends AnnotationDescription> annotations)
Creates a new explicit annotation source.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
private final java.util.List<? extends AnnotationDescription> annotations
public Explicit(AnnotationDescription... annotation)
annotation - The represented annotations.public Explicit(java.util.List<? extends AnnotationDescription> annotations)
annotations - The represented annotations.public AnnotationList getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotationSource