Enhancement
| Modifier and Type | Method and Description |
|---|---|
| public DeclarationConfig | Returns: this configurator object, to allow fluent usagethe annotation type, must not be annotationType)nullAdds a marker annotation of given type to this declaration. |
| public DeclarationConfig | Returns: this configurator object, to allow fluent usagethe annotation to add to this declaration, must not be annotation)nullAdds given annotation to this declaration. |
| public DeclarationConfig | Returns: this configurator object, to allow fluent usagethe annotation to add to this declaration, must not be annotation)nullAdds given annotation to this declaration. |
| public DeclarationInfo | |
| public DeclarationConfig | Returns: this configurator object, to allow fluent usageRemoves all annotations from this declaration. |
| public DeclarationConfig | Returns: this configurator object, to allow fluent usagean annotation predicate, must not be predicate)nullRemoves all annotations matching given predicate from this declaration. |
| addAnnotation | back to summary |
|---|---|
| public DeclarationConfig addAnnotation(Class<? extends Annotation> annotationType) Adds a marker annotation of given type to this declaration. Does not allow configuring annotation members.
| |
| addAnnotation | back to summary |
|---|---|
| public DeclarationConfig addAnnotation(AnnotationInfo annotation) Adds given annotation to this declaration. The
| |
| addAnnotation | back to summary |
|---|---|
| public DeclarationConfig addAnnotation(Annotation annotation) Adds given annotation to this declaration. The annotation instance is typically
a subclass of
| |
| info | back to summary |
|---|---|
| public DeclarationInfo info() Returns the
| |
| removeAllAnnotations | back to summary |
|---|---|
| public DeclarationConfig removeAllAnnotations() Removes all annotations from this declaration.
| |
| removeAnnotation | back to summary |
|---|---|
| public DeclarationConfig removeAnnotation(Predicate<AnnotationInfo> predicate) Removes all annotations matching given predicate from this declaration.
| |