Package net.sf.basedb.util.annotations
Class InheritAnnotationsManager.AnnotationTypeFilter
java.lang.Object
net.sf.basedb.util.annotations.InheritAnnotationsManager.AnnotationTypeFilter
- All Implemented Interfaces:
Filter<AnnotationSnapshot>
- Enclosing class:
- InheritAnnotationsManager
static class InheritAnnotationsManager.AnnotationTypeFilter
extends Object
implements Filter<AnnotationSnapshot>
Filter for finding annotation types to process.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
add
(InheritSpecification spec) boolean
evaluate
(AnnotationSnapshot snapshot) Evaluate if the given object should pass the filter or not.
-
Field Details
-
source
-
annotationTypes
-
-
Constructor Details
-
AnnotationTypeFilter
AnnotationTypeFilter(Annotation.Source source)
-
-
Method Details
-
evaluate
Description copied from interface:Filter
Evaluate if the given object should pass the filter or not.- Specified by:
evaluate
in interfaceFilter<AnnotationSnapshot>
- Parameters:
snapshot
- The object to evaluate- Returns:
- TRUE if the object passes the filter, FALSE otherwise
-
add
-