public abstract class AbstractBoundMethodCollectionFactory extends java.lang.Object implements MethodCollectionFactory
BoundMethodMap.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBoundMethodCollectionFactory(java.lang.Object target) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getTarget()
Retrieves the underlying object of this BoundMethodCollectionFactory.
|
protected abstract 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.
|
java.util.Collection<java.lang.reflect.Method> |
produceMethodCollection() |
protected AbstractBoundMethodCollectionFactory(java.lang.Object target)
target - the target object whose class's methods are candidates to be included in the
output of a call to produceMethodCollection()public final java.util.Collection<java.lang.reflect.Method> produceMethodCollection()
throws MethodCollectionProductionException
produceMethodCollection in interface MethodCollectionFactoryMethodCollectionProductionException - If production of the method collection fails.public final java.lang.Object getTarget()
protected abstract boolean include(java.lang.reflect.Method method)
method - method to be evaluated for inclusion in the output of
produceMethodCollection()true if the method should be included in the produced
method collection, false otherwise