public static class AnnotationSource.Explicit extends Object implements AnnotationSource
AnnotationSource.Empty, AnnotationSource.Explicit| Constructor and Description |
|---|
Explicit(AnnotationDescription... annotation)
Creates a new explicit annotation source.
|
Explicit(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.
|
public Explicit(AnnotationDescription... annotation)
annotation - The represented annotations.public Explicit(List<? extends AnnotationDescription> annotations)
annotations - The represented annotations.public AnnotationList getDeclaredAnnotations()
AnnotationSourcegetDeclaredAnnotations in interface AnnotationSourceCopyright © 2014–2017. All rights reserved.