java.lang.Object
org.klojang.invoke.SetterFactory
Assembles, caches and supplies
setters for classes.- Author:
- Ayco Holleman
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SetterFactoryThe one and only instance ofSetterFactory. -
Method Summary
-
Field Details
-
INSTANCE
The one and only instance ofSetterFactory.
-
-
Method Details
-
getSetters
Returns the publicsettersfor the specified class. The returnedMapmaps property names toSetterinstances. The order of the keys within the map is determined by the order of the methods returned byClass.getMethods().- Parameters:
clazz- The class for which to retrieve the public setters- Returns:
- The public setters of the specified class
- Throws:
IllegalAssignmentException- If the does not have any public setters
-