static class InheritAnnotationsManager.AnnotationTypeFilter extends java.lang.Object implements Filter<AnnotationSnapshot>
Modifier and Type | Field and Description |
---|---|
private java.util.Set<java.lang.Integer> |
annotationTypes |
private Annotation.Source |
source |
Constructor and Description |
---|
AnnotationTypeFilter(Annotation.Source source) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
add(InheritSpecification spec) |
boolean |
evaluate(AnnotationSnapshot snapshot)
Evaluate if the given object should pass the filter or not.
|
private final Annotation.Source source
private final java.util.Set<java.lang.Integer> annotationTypes
AnnotationTypeFilter(Annotation.Source source)
public boolean evaluate(AnnotationSnapshot snapshot)
Filter
evaluate
in interface Filter<AnnotationSnapshot>
snapshot
- The object to evaluatevoid add(InheritSpecification spec)