Package de.intarsys.tools.reflect
Interface IFieldHandler
- All Known Implementing Classes:
FunctorFieldHandler
public interface IFieldHandler
An object able to access a field within a delegate
-
Method Summary
-
Method Details
-
getValue
Make a reflective read access to the field represented by this within thereceiver.- Parameters:
receiver- The object hosting the field.- Returns:
- The field value
- Throws:
FieldExceptionFieldAccessException
-
setValue
Make a reflective write access to the field represented by this withinreceiver.- Parameters:
receiver- The object hosting the field.value- The new value for the field- Returns:
- The previous field value. This is an optional feature.
- Throws:
FieldExceptionFieldAccessException
-