Hi Eric, > I wrote an initial implementation of of an Uberspector that delegates > introspection to other Uberspectors on a per-class basis, and uses the > egular behavior if no alternate Uberspectors are registered. I also > wrote one custom Uberpector, and so far everything seems to be working > really well. Great work!
> Shinobu -- thanks for the help! I have a couple of further questions: I'll answer the ones I know, and leave the rest for the others. :) > 1) What should an Iterator returned by Uberpect.getIterator() do? > Iterate through properties of a class? Or is this meant to provide > handle Collection-like things that don't support the Collection > interface? This is used by the #foreach directive. (Is this working for PublicFieldUberspect? I don't think I tested it...) > 2) Is VelPropertyGet.getMethodName() really used anywhere (I ask > because I can't really return a real method name vis-a-vis the object > that can be used to return a specific property. I just want to make > sure this won't mess anything up) It's used somewhere in the exception handling process. Logging something like "the method <so-and-so> screwed up!". > thanks again...hope the code is useful to someone. At least it is to you. ;) Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
