Closed GoogleCodeExporter closed 8 years ago
Is this issue due to the known limitations?
http://code.google.com/p/lambdaj/wiki/KnownLimitations
I was hoping since the enum (final class) wasn't being used with on(), it would
be okay.
Original comment by gdwar...@gmail.com
on 7 Jun 2012 at 3:17
You cannot use the ConstructorArgumentConverter<F,T> in this way. It is
supposed to convert an instance of the class F into an instance of the T by
invoking a constructor of the class T passing to it some values taken from the
fields of F as in the following example:
new ConstructorArgumentConverter<PRB, GenericPRB>(GenericPRB.class,
on(PRB.class).getValue1(), on(PRB.class).getValue2(), ...);
You cannot use in this converter values that are not taken from the F instance.
Original comment by mario.fu...@gmail.com
on 8 Jul 2012 at 1:49
Original issue reported on code.google.com by
gdwar...@gmail.com
on 7 Jun 2012 at 3:12