Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Aspect for AspectJ Library: Transparent UsageofPreferences

Hi Eric,

The problem is that the advice implementation is slightly different for different types. The implementation of storing and retrieving String values is different from storage and retrieval of integers, so I have to call different methods.

Vaidas

----- Original Message ----- From: "Eric Bodden" <eric@xxxxxxxxx>
To: "'AspectJ developer discussions'" <aspectj-dev@xxxxxxxxxxx>
Sent: Friday, May 06, 2005 9:25 PM
Subject: RE: [aspectj-dev] Aspect for AspectJ Library: Transparent UsageofPreferences



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

I had a look at your implementation and saw that you copies your
advice for each possible simple type. I think it would suffice to
have *one* advice with "Object" instead. This should match anything
IIRC. AspectJ should do autoboxing for you.

Eric

- -- Eric Bodden
Chair I2 for Programming Languages and Program Analysis
RWTH Aachen University

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3

iQA/AwUBQnvElMwiFCm7RlWCEQIFbgCgtT5lDkXq5V+fiyCZOkc5WomYQjQAoLiz
dNiRDCNO/FZQponvvWeYu0up
=mGX8
-----END PGP SIGNATURE-----


_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev



Back to the top