public abstract class AnnotationContainerSupport extends Object implements AnnotationContainer
| Constructor and Description |
|---|
AnnotationContainerSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotation(Annotation annotation) |
protected void |
addAnnotations(Annotation... annotations) |
protected void |
addAnnotations(Iterable<? extends Annotation> annotations) |
List<Annotation> |
annotations() |
<T extends Annotation> |
annotations(Class<? extends T> ofType) |
void |
removeAnnotation(Annotation annotation) |
void |
removeAnnotations(Class<? extends Annotation> ofType) |
@Nonnull public List<Annotation> annotations()
annotations in interface AnnotationContainer@Nonnull public <T extends Annotation> Iterable<T> annotations(@Nonnull Class<? extends T> ofType)
annotations in interface AnnotationContainerprotected void addAnnotations(@Nullable Iterable<? extends Annotation> annotations)
protected void addAnnotations(@Nullable Annotation... annotations)
public void addAnnotation(@Nonnull Annotation annotation)
addAnnotation in interface AnnotationContainerpublic void removeAnnotation(@Nonnull Annotation annotation)
removeAnnotation in interface AnnotationContainerpublic void removeAnnotations(@Nonnull Class<? extends Annotation> ofType)
removeAnnotations in interface AnnotationContainerCopyright © 2023 echocat. All rights reserved.