[armedbear-devel] SETF for JFEILDS

Alan Ruttenberg alanruttenberg at gmail.com
Wed Nov 25 13:42:40 UTC 2009

On Wed, Nov 25, 2009 at 3:06 AM, Alessio Stalla <alessiostalla at gmail.com> wrote:

> getDeclaredFields/Methods do not handle inherited members, so to do it
> correctly you need to recur over superclasses and interfaces. So it
> could go like this: if "try-harder" or some similar flag is false,
> look only for getFields/Methods - you'll get all the accessible
> members of that class, declared or inherited, but not private members.
> If the flag is true, use getDeclaredXXX on the full type hierarchy of
> your class. I have (Java) code written for this type of recursion
> available.

Nice. Please send :)

More information about the armedbear-devel mailing list