|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GetterHandler
| Method Summary | |
|---|---|
Object |
field(Field field)
This part of the DSL controls which field is going to have it's value read. |
Object |
field(String fieldName)
Convenience method for field(Field) |
| Method Detail |
|---|
Object field(String fieldName)
field(Field)
fieldName - Name of the field that is going to be reflected.
IllegalArgumentException - if fieldName is null or emptyDefaultGetterHandler.field(Field)Object field(Field field)
field - Field object representing the field from which the value is
going to be read.
IllegalArgumentException - if field is null or if field does not exists in this
class/object
IllegalStateException - if you are trying to access an instance field without
providing an object.ReflectionElementReflectionProvider.setAccessible(),
FieldReflectionProvider.getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||