void |
MutableAnnotationOverlay.addAnnotation(Declaration declaration,
AnnotationInstance annotation) |
Adds given annotation instance to given declaration .
|
void |
MutableAnnotationOverlayImpl.addAnnotation(Declaration declaration,
AnnotationInstance annotation) |
|
private AnnotationTransformation |
MutableAnnotationOverlayImpl.addTransformation(Declaration declaration,
AnnotationInstance annotation) |
|
default AnnotationInstance |
AnnotationOverlay.annotation(Declaration declaration,
java.lang.Class<? extends java.lang.annotation.Annotation> clazz) |
Returns the annotation instance of given clazz declared on given declaration .
|
AnnotationInstance |
AnnotationOverlay.annotation(Declaration declaration,
DotName name) |
Returns the annotation instance with given name declared on given declaration .
|
AnnotationInstance |
AnnotationOverlayImpl.annotation(Declaration declaration,
DotName name) |
|
java.util.Collection<AnnotationInstance> |
AnnotationOverlay.annotations(Declaration declaration) |
Returns the annotation instances declared on given declaration .
|
java.util.Collection<AnnotationInstance> |
AnnotationOverlayImpl.annotations(Declaration declaration) |
|
default java.util.Collection<AnnotationInstance> |
AnnotationOverlay.annotationsWithRepeatable(Declaration declaration,
java.lang.Class<? extends java.lang.annotation.Annotation> clazz) |
Returns the annotation instances of given type (clazz ) declared on given declaration .
|
java.util.Collection<AnnotationInstance> |
AnnotationOverlay.annotationsWithRepeatable(Declaration declaration,
DotName name) |
Returns the annotation instances with given name declared on given declaration .
|
java.util.Collection<AnnotationInstance> |
AnnotationOverlayImpl.annotationsWithRepeatable(Declaration declaration,
DotName name) |
|
(package private) java.util.Collection<AnnotationInstance> |
AnnotationOverlayImpl.getAnnotationsFor(Declaration declaration) |
|
(package private) java.util.Collection<AnnotationInstance> |
MutableAnnotationOverlayImpl.getAnnotationsFor(Declaration declaration) |
|
(package private) java.util.Collection<AnnotationInstance> |
AnnotationOverlayImpl.getOriginalAnnotations(Declaration declaration) |
|
default boolean |
AnnotationOverlay.hasAnnotation(Declaration declaration,
java.lang.Class<? extends java.lang.annotation.Annotation> clazz) |
Returns whether an annotation instance of given clazz is declared on given declaration .
|
boolean |
AnnotationOverlay.hasAnnotation(Declaration declaration,
DotName name) |
Returns whether an annotation instance with given name is declared on given declaration .
|
boolean |
AnnotationOverlayImpl.hasAnnotation(Declaration declaration,
DotName name) |
|
default boolean |
AnnotationOverlay.hasAnyAnnotation(Declaration declaration,
java.lang.Class<? extends java.lang.annotation.Annotation>... classes) |
Returns whether any annotation instance of one of given classes is declared on given declaration .
|
boolean |
AnnotationOverlay.hasAnyAnnotation(Declaration declaration,
java.util.Set<DotName> names) |
Returns whether any annotation instance with one of given names is declared on given declaration .
|
boolean |
AnnotationOverlayImpl.hasAnyAnnotation(Declaration declaration,
java.util.Set<DotName> names) |
|
static EquivalenceKey.DeclarationEquivalenceKey |
EquivalenceKey.of(Declaration declaration) |
|
void |
MutableAnnotationOverlay.removeAnnotations(Declaration declaration,
java.util.function.Predicate<AnnotationInstance> predicate) |
Removes all annotations matching given predicate from given declaration .
|
void |
MutableAnnotationOverlayImpl.removeAnnotations(Declaration declaration,
java.util.function.Predicate<AnnotationInstance> predicate) |
|
private AnnotationTransformation |
MutableAnnotationOverlayImpl.removeTransformation(Declaration declaration,
java.util.function.Predicate<AnnotationInstance> predicate) |
|