This content has been marked as final.
Show 1 reply
-
1. Re: Roaster: How to add a list of annotations
gariklolkin Sep 30, 2017 12:26 PM (in response to gariklolkin)Yes, by the way, there is a solution.
AnnotationSource annotationSource = methodToProcess.addAnnotation(AllowedForFunctionActionCouples.class);
annotationSource.addAnnotationValue(AllowedForFunctionActionCouple.class)
.setStringValue("function", "FC_FUNCTION")
.setLiteralValue("action", "AC_ANY");