I'm developing an Addon to generate Metadata depending on the annotations set in java code.
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)).
The DefaultItdTypeDetailsBuilder provides some methods to update a method, method annotations, types annotation, etc... but there is no method defined to create a custom rule like this.
declare @method: !@AnnotatedMethod * TestRequirements.*(..) : @NewAnnotatedMethod(new = true);
Any workaround to solve the problem ?
I'll post a JIRA to make an improvement in next versions, I think it's a good way to make more use of AspectJ.