users@codemodel.java.net

Re: Do you know?

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Wed, 6 Mar 2013 12:48:38 +0100

Hi,

> Anyone knows how to generate a call to the constructor in the extended
> class?
> That is "super(somearg);".
> Have browsed the source but can't find a way...

I think it's just JExpr.invoke("super").arg(somearg).

Not very clean though.

Bye,
/lexi