Open GoogleCodeExporter opened 9 years ago
Just making it clear that this effects all proxying of polymorphic classes, and
not just this Dom4j scenario. Would love a fix!
Original comment by rmurf...@gmail.com
on 15 May 2012 at 9:54
Am I wrong or are you missing to use the 'on' method like in:
Attribute requiredAttribute = selectFirst(list,
having(ON(Attribute.class).getName(), equalTo(name)));
Original comment by mario.fu...@gmail.com
on 8 Jul 2012 at 1:56
I've ran into exactly the same problem as the topic starter.
And yes, the on method as stated by Mario solves the problem.
I'm actually surprised to see that the original code compiles at all!
This issue can be closed as invalid.
Original comment by vadipp@gmail.com
on 7 Nov 2013 at 5:57
Ah, the (Attribute.class).getName() code compiles because the Class object has
a getName method. Easy as pie.
Original comment by vadipp@gmail.com
on 7 Nov 2013 at 5:58
Original issue reported on code.google.com by
declan.t...@gmail.com
on 27 Mar 2012 at 11:20