Class MappedMethodAccessorFactory
java.lang.Object
com.cedarsoftware.util.reflect.factories.MappedMethodAccessorFactory
- All Implemented Interfaces:
AccessorFactory
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MappedMethodAccessorFactory
public MappedMethodAccessorFactory()
-
-
Method Details
-
createAccessor
Description copied from interface:AccessorFactory
Creates accessors for accessing data from an object.- Specified by:
createAccessor
in interfaceAccessorFactory
- Parameters:
field
- The field we're trying to accesspossibleAccessors
- a map of possible methods from the class itself- Returns:
- The accessor if one fits for this field, otherwise null.
-