public class BoundAnnotatedMethodCollectionFactory extends AbstractBoundMethodCollectionFactory
BoundMethodCollectionFactory that
produces a method collection consisting solely of methods from the class of the provided object
that are annotated with the provided annotation class.| Constructor and Description |
|---|
BoundAnnotatedMethodCollectionFactory(java.lang.Object target,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
include(java.lang.reflect.Method method)
Determines whether or not a candidate method should be included in the method collection
produced by this BoundMethodCollectionFactory.
|
getTarget, produceMethodCollectionpublic BoundAnnotatedMethodCollectionFactory(java.lang.Object target,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
target - the target objectannotationClass - the annotation class that indicates the methods to be includedprotected boolean include(java.lang.reflect.Method method)
AbstractBoundMethodCollectionFactoryinclude in class AbstractBoundMethodCollectionFactorymethod - method to be evaluated for inclusion in the output of
AbstractBoundMethodCollectionFactory.produceMethodCollection()true if the method should be included in the produced
method collection, false otherwise