But it is not the same anyway you can't call getTarget().getClass()
that is at least not the class of the property that can never be Person.Address.Street (street is a string) what is the target? Street? but that can be null because it is not set yet or is the target Address? Because thats the target where you call setStreet(String) on but then the class is not the properties class. so the only thing you can get is the targets property class johan On 5/12/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
On 5/11/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > Why limit to getTargetClass() when its possible to return with getTarget() > > and do a getTarget().getClass() ? I agree with Eelco. There's nothing "wrong" with exposing the target and then calling getClass(), it's just not what I needed. I didn't here anyone else chime in on what they needed for inspecting models...