openpojo
openpojo copied to clipboard
Add the ability to get all inherited fields in PojoClass interface.
Need a way to get all inherited fields in one call, something like:
PojoClass {
[...]
public List<PojoField> getAllPojoFields(); // return all declared and inherited.
public List<PojoField> getInheritedPojoFields(); // return inherited only fields.
}
This will simplify workflow instead of having to re-implement the boilerplate code over and over in every framework.
what about getPojoField(boolean inherited) overload
I am not a fan of boolean parameters that change behavior in general. I can see the simplicity in how it looks though.