I want to generate a Metadata (AspectJ) with a rule in wich all methods that aren't annotated with defined annotation (@AnnotatedMethod) in a class (TestRequirements) asign an especific annotation (@NewAnnotatedMethod(new = true)). This is the AspectJ declaration:
The DefaultItdTypeDetailsBuilder class provides some methods to update a method, method annotations, types annotation, etc... to generate AspectJ but there is no method defined to create a custom rule like this in ROO. Then ItdSourceFileComposermanagement generates the AspectJ file with this information.
This could improve the management of AspectJ generated files by an Addon an make more use of its capabilities.
These are two posts in AspectJ bugzilla that we post related to this topic which can be useful to implement a solution to manage with ROO that will be released in 1.6.10 version:
Declare annotation to a method param:
Declare annotation - augmentation/overriding and precedence:
I think this could be useful to Addon development.