| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | AnnotationList.AbstractBase
An abstract base implementation of an annotation list. |
| public static class | AnnotationList.Empty
Represents an empty annotation list. |
| public static class | AnnotationList.Explicit
Represents a list of explicitly provided annotation descriptions. |
| public static class | AnnotationList.ForLoadedAnnotations
Describes an array of loaded |
| Modifier and Type | Method and Description |
|---|---|
| public TypeList | Returns: A list of the annotation types of this list.Returns a list of the annotation types of this list. |
| public List | Returns: A list of binary names of the represented annotations.Returns a list of the names of the annotation types. |
| public AnnotationList | Returns: A list of all inherited annotations besides of the given ignored types.A list of annotation types to be ignored from the lookup. ignoredTypes)Returns only annotations that are marked as |
| public boolean | Returns: true if the list contains the annotation type.The type to find in the list. annotationType)Checks if this list contains an annotation of the given type. |
| public boolean | Returns: true if the list contains the annotation type.The type to find in the list. annotationType)Checks if this list contains an annotation of the given type. |
| public < The annotation type. T extends Annotation> AnnotationDescription. | |
| public AnnotationDescription | Returns: The annotation description ornull if no such annotation was found.The type to be found in the list. annotationType)Finds the first annotation of the given type and returns it. |
| public AnnotationList | Returns: A of annotations only with elementsA matcher for the required retention policy. matcher)Only retains annotations with the given retention policy. |
| asTypeList | back to summary |
|---|---|
| public TypeList asTypeList() Returns a list of the annotation types of this list.
| |
| asTypeNames | back to summary |
|---|---|
| public List Returns a list of the names of the annotation types. This list might contain the names of annotations that are not otherwise resolvable. | |
| inherited | back to summary |
|---|---|
| public AnnotationList inherited(Set<? extends TypeDescription> ignoredTypes) Returns only annotations that are marked as
| |
| isAnnotationPresent | back to summary |
|---|---|
| public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) Checks if this list contains an annotation of the given type.
| |
| isAnnotationPresent | back to summary |
|---|---|
| public boolean isAnnotationPresent(TypeDescription annotationType) Checks if this list contains an annotation of the given type.
| |
| ofType | back to summary |
|---|---|
| public <T extends Annotation> AnnotationDescription. Finds the first annotation of the given type and returns it.
| |
| ofType | back to summary |
|---|---|
| public AnnotationDescription ofType(TypeDescription annotationType) Finds the first annotation of the given type and returns it.
| |
| visibility | back to summary |
|---|---|
| public AnnotationList visibility(ElementMatcher<? super RetentionPolicy> matcher) Only retains annotations with the given retention policy.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public TypeList | asTypeList()
Implements net. |
| public List | asTypeNames()
Implements net. |
| public AnnotationList | inherited(Set<? extends TypeDescription>
A list of annotation types to be ignored from the lookup. ignoredTypes)Implements net. java. as long as they are not
contained by the set of ignored annotation types.
|
| public boolean | isAnnotationPresent(Class<? extends Annotation>
The type to find in the list. annotationType)Implements net. |
| public boolean | isAnnotationPresent(TypeDescription
The type to find in the list. annotationType)Implements net. |
| public <T extends Annotation> AnnotationDescription. | ofType(Class<T>
The type to be found in the list. annotationType)Implements net. |
| public AnnotationDescription | ofType(TypeDescription
The type to be found in the list. annotationType)Implements net. |
| public AnnotationList | visibility(ElementMatcher<? super RetentionPolicy>
A matcher for the required retention policy. matcher)Implements net. |
| protected AnnotationList | wrap(List<AnnotationDescription>
The values to wrap in an instance of this list's type. values)Implements abstract net. |
| AbstractBase | back to summary |
|---|---|
| public AbstractBase() | |
| asTypeList | back to summary |
|---|---|
| public TypeList asTypeList() Implements net. Doc from net. Returns a list of the annotation types of this list.
| |
| asTypeNames | back to summary |
|---|---|
| public List Implements net. Doc from net. Returns a list of the names of the annotation types. This list might contain the names of annotations that are not otherwise resolvable. | |
| inherited | back to summary |
|---|---|
| public AnnotationList inherited(Set<? extends TypeDescription> ignoredTypes) Implements net. Doc from net. Returns only annotations that are marked as
| |
| isAnnotationPresent | back to summary |
|---|---|
| public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) Implements net. Doc from net. Checks if this list contains an annotation of the given type.
| |
| isAnnotationPresent | back to summary |
|---|---|
| public boolean isAnnotationPresent(TypeDescription annotationType) Implements net. Doc from net. Checks if this list contains an annotation of the given type.
| |
| ofType | back to summary |
|---|---|
| public <T extends Annotation> AnnotationDescription. Implements net. Doc from net. Finds the first annotation of the given type and returns it.
| |
| ofType | back to summary |
|---|---|
| public AnnotationDescription ofType(TypeDescription annotationType) Implements net. Doc from net. Finds the first annotation of the given type and returns it.
| |
| visibility | back to summary |
|---|---|
| public AnnotationList visibility(ElementMatcher<? super RetentionPolicy> matcher) Implements net. Doc from net. Only retains annotations with the given retention policy.
| |
| wrap | back to summary |
|---|---|
| protected AnnotationList wrap(List<AnnotationDescription> values) Implements abstract net. Doc from net. Represents a list of values as an instance of this instance's list type.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static List | Returns: A list of empty annotation lists of the given length.The length of the list. length)Creates a list of empty annotation lists of the given dimension. |
| public TypeList | asTypeList()
Implements net. |
| public List | asTypeNames()
Implements net. |
| public AnnotationList | inherited(Set<? extends TypeDescription>
A list of annotation types to be ignored from the lookup. ignoredTypes)Implements net. java. as long as they are not
contained by the set of ignored annotation types.
|
| public boolean | isAnnotationPresent(Class<? extends Annotation>
The type to find in the list. annotationType)Implements net. |
| public boolean | isAnnotationPresent(TypeDescription
The type to find in the list. annotationType)Implements net. |
| public <T extends Annotation> AnnotationDescription. | ofType(Class<T>
The type to be found in the list. annotationType)Implements net. |
| public AnnotationDescription | ofType(TypeDescription
The type to be found in the list. annotationType)Implements net. |
| public AnnotationList | visibility(ElementMatcher<? super RetentionPolicy>
A matcher for the required retention policy. matcher)Implements net. |
| Empty | back to summary |
|---|---|
| public Empty() | |
| asList | back to summary |
|---|---|
| public static List Creates a list of empty annotation lists of the given dimension.
| |
| asTypeList | back to summary |
|---|---|
| public TypeList asTypeList() Implements net. Doc from net. Returns a list of the annotation types of this list.
| |
| asTypeNames | back to summary |
|---|---|
| public List Implements net. Doc from net. Returns a list of the names of the annotation types. This list might contain the names of annotations that are not otherwise resolvable. | |
| inherited | back to summary |
|---|---|
| public AnnotationList inherited(Set<? extends TypeDescription> ignoredTypes) Implements net. Doc from net. Returns only annotations that are marked as
| |
| isAnnotationPresent | back to summary |
|---|---|
| public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) Implements net. Doc from net. Checks if this list contains an annotation of the given type.
| |
| isAnnotationPresent | back to summary |
|---|---|
| public boolean isAnnotationPresent(TypeDescription annotationType) Implements net. Doc from net. Checks if this list contains an annotation of the given type.
| |
| ofType | back to summary |
|---|---|
| public <T extends Annotation> AnnotationDescription. Implements net. Doc from net. Finds the first annotation of the given type and returns it.
| |
| ofType | back to summary |
|---|---|
| public AnnotationDescription ofType(TypeDescription annotationType) Implements net. Doc from net. Finds the first annotation of the given type and returns it.
| |
| visibility | back to summary |
|---|---|
| public AnnotationList visibility(ElementMatcher<? super RetentionPolicy> matcher) Implements net. Doc from net. Only retains annotations with the given retention policy.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List | annotationDescriptions
The list of represented annotation descriptions. |
| Access | Constructor and Description |
|---|---|
| public | Explicit(AnnotationDescription...
The list of represented annotation descriptions. annotationDescription)Creates a new list of annotation descriptions. |
| public | Explicit(List<? extends AnnotationDescription>
The list of represented annotation descriptions. annotationDescriptions)Creates a new list of annotation descriptions. |
| Modifier and Type | Method and Description |
|---|---|
| public static List | Returns: The list of annotation lists.The list of annotations to represent as a list of annotation lists. annotations)Creates a list of annotation lists for a given multidimensional list of annotation descriptions. |
| public AnnotationDescription | get(int
index of the element to return index)Implements abstract java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| annotationDescriptions | back to summary |
|---|---|
| private final List<? extends AnnotationDescription> annotationDescriptions The list of represented annotation descriptions. | |
| Explicit | back to summary |
|---|---|
| public Explicit(AnnotationDescription... annotationDescription) Creates a new list of annotation descriptions.
| |
| Explicit | back to summary |
|---|---|
| public Explicit(List<? extends AnnotationDescription> annotationDescriptions) Creates a new list of annotation descriptions.
| |
| asList | back to summary |
|---|---|
| public static List Creates a list of annotation lists for a given multidimensional list of annotation descriptions.
| |
| get | back to summary |
|---|---|
| public AnnotationDescription get(int index) Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |
java.lang.annotation.Annotation s as an annotation list.
| Modifier and Type | Field and Description |
|---|---|
| private final List | annotations
The represented annotations. |
| Access | Constructor and Description |
|---|---|
| public | ForLoadedAnnotations(Annotation...
The represented annotations. annotation)Creates a new list of loaded annotations. |
| public | ForLoadedAnnotations(List<? extends Annotation>
The represented annotations. annotations)Creates a new list of loaded annotations. |
| Modifier and Type | Method and Description |
|---|---|
| public static List | Returns: A list of annotation lists representing the given annotations.The annotations to represent where each dimension is converted into a list. annotations)Creates a list of annotation lists representing the given loaded annotations. |
| public AnnotationDescription | get(int
index of the element to return index)Implements abstract java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| annotations | back to summary |
|---|---|
| private final List<? extends Annotation> annotations The represented annotations. | |
| ForLoadedAnnotations | back to summary |
|---|---|
| public ForLoadedAnnotations(Annotation... annotation) Creates a new list of loaded annotations.
| |
| ForLoadedAnnotations | back to summary |
|---|---|
| public ForLoadedAnnotations(List<? extends Annotation> annotations) Creates a new list of loaded annotations.
| |
| asList | back to summary |
|---|---|
| public static List Creates a list of annotation lists representing the given loaded annotations.
| |
| get | back to summary |
|---|---|
| public AnnotationDescription get(int index) Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |