Community
Participate
Working Groups
AspectJ would support a declaration rule to method params. I.E.: I want to publish a service as a web service. I need to annotate the params of a method with @WebParam. AspectJ supports the declaration of annotations in the method and has a syntax to check params with pointcuts: pointcut p1(): execution(public * (@Controller *).*(@MyParamAnnotation (*),..)); I proposed this syntax to assign annotations to paramas: declare @param * *(*, Class className, ..) : @Annotation(annotationParameter = "value"); Result: assign the annotation '@Annotation(annotationParameter = "value")' to the type of param 'Class' with the name 'className'. It has to be declared for each param to assign individually the annotation. I think it would be a necessary improvement to increase the productivity of AspectJ. Thank you.
Hi! Is there any news on this subject ? I've linked this improvement to Spring-ROO AspectJ generation. It could be very useful for both. JIRA: * https://jira.springsource.org/browse/ROO-1390 Thank you !
nope, no news on this yet. When changes are made this bug will be updated.
unsetting the target field which is currently set for something already released