org.codehaus.jackson.map.introspect
Class AnnotatedClass.FactoryMethodFilter
java.lang.Object
org.codehaus.jackson.map.introspect.AnnotatedClass.FactoryMethodFilter
- All Implemented Interfaces:
- MethodFilter
- Enclosing class:
- AnnotatedClass
public static final class AnnotatedClass.FactoryMethodFilter
- extends Object
- implements MethodFilter
Filter used to only include methods that have signature that is
compatible with "factory" methods: are static, take a single
argument, and returns something.
NOTE: in future we will probably allow more than one
argument, when multi-arg constructors and factory methods
are supported (with accompanying annotations to bind args
to properties).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static final AnnotatedClass.FactoryMethodFilter instance
AnnotatedClass.FactoryMethodFilter
public AnnotatedClass.FactoryMethodFilter()
includeMethod
public boolean includeMethod(Method m)
- Specified by:
includeMethod in interface MethodFilter