Skip to content
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.

The Aoplib4jConst aspect #87

Open
GoogleCodeExporter opened this issue Aug 15, 2015 · 2 comments
Open

The Aoplib4jConst aspect #87

GoogleCodeExporter opened this issue Aug 15, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

The goal of the aspect is to implement the equivalent of the C++ const keyword 
on the method parameters.

The user will annotate method parameters(the interfaces methods also) and the 
user will have the possibility to check after the method execution if one of 
the annotated parameters have been modified.

This is a feature; on which will be attached all the bugs linked to this 
aspect.   

The main problem is the annotation inheritance; the annotations are not 
inherited (beside the class annotations).

Original issue reported on code.google.com by adyc...@gmail.com on 19 Jun 2010 at 10:11

@GoogleCodeExporter
Copy link
Author

The main problem ia that AspectJ is not capable to capture jointpoints 
representing the execution of all the methods which have AT LEAST one parameter 
annotated with a specific annotation (see Andy Clement 
http://dev.eclipse.org/mhonarc/lists/aspectj-users/msg12222.html) . 
So it is impossible to annotate method parameters, the solution would be to 
annottate methods(not very flexible as solution). 

Original comment by adyc...@gmail.com on 13 Jul 2010 at 8:19

@GoogleCodeExporter
Copy link
Author

Original comment by adyc...@gmail.com on 22 Jan 2011 at 5:21

  • Changed state: New

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant