I want to use @decalredParents for an annotation my aspect
@DeclareParents("@annotation(gov.hhs.acf.aop.aspects.WorkflowAware)", defaultImpl=DefaultWorkflowMetaData.class) public static WorkflowMetaData workflowMetaData1; @Target(ElementType.TYPE) @Retention(RetentionPolicy.CLASS) public @interface WorkflowAware { } what I want is all classes which have WorkflowAware annotaton should implement WorkflowMetaData please help me write the proper syntax @DeclareParents(value="gov.hhs.acf.web.pages.auditprog.*", defaultImpl=DefaultWorkflowMetaData.class) public static WorkflowMetaData workflowMetaData; this works for me can I add to this all classes with annotation WorkflowAware ? -- View this message in context: http://www.nabble.com/using-%40declaredParents--for-annotations-tp20969256p20969256.html Sent from the AspectJ - users mailing list archive at Nabble.com. _______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users