[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[aspectj-users] Problem with newer version
|
Since I install (through Eclipse Version: 3.0.2 Build id: 200503110845)
the new AspectJ (1.2.0.20050413151050) package I have this compilation
problem
pointcut setBoolean(Boolean newval): execution(public *
sil.od..*.set*(Boolean)) && args(newval) &&
within(sil.od.SilOdIWatched+);
pointcut setLong(Long newval) : execution(public *
sil.od..*.set*(Long)) && args(newval) &&
within(sil.od.SilOdIWatched+);
pointcut setString(String newval) : execution(public *
sil.od..*.set*(String)) && args(newval) &&
within(sil.od.SilOdIWatched+);
pointcut setDate(SilDate newval) : execution(public *
sil.od..*.set*(SilDate)) && args(newval) &&
within(sil.od.SilOdIWatched+);
pointcut inincluded(Object newval) :
setBoolean(newval)
|| setLong(newval)
|| setString(newval)
|| setDate(newval);
before(SilOdIWatched obj, Object newval): target(obj) &&
inincluded(newval) {
....
}
The two messages are:
ambiguous binding of parameter(s) newval across '||' in pointcut
and
the parameter newval is not bound in [all branches of] pointcut
Any help would help
Thx
------------------------------------------------
Richard Mercille
Hopitaux Universitaires de Geneve
Division d'Informatique
21, rue Micheli-du-Crest
CH-1211 Geneve 4, Suisse
Tel +41 22 372-8620
Fax +41 22 372-8680
internet http://www.hcuge.ch
intranet http://w3.hcuge.ch
------------------------------------------------
Computers come in two styles: prototype and obsolete!
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************