[e-lang] Joe-E and safej
Kevin Reid
kpreid at mac.com
Thu Jul 26 23:18:04 EDT 2007
On Jul 26, 2007, at 22:08, Adrian Mettler wrote:
> From the documentation that I have on the safej format, it looks
> like it only handles methods. For Joe-E, I'm interested in
> specifying taming behavior for constructors and fields as well,
> which seems that it would require an extension to the format
> (unless one specified them with "method" clauses). Are there any
> opinions on how best to do this? There are several possibilities.
IIRC, safej files tame constructors and fields after they have been
mapped to methods.
That is, a constructor is considered a static method named "run", and
a public field is considered a method named "getFoo" (and "setFoo" if
not final).
--
Kevin Reid <http://homepage.mac.com/kpreid/>
More information about the e-lang
mailing list