Hi,

 

Is there a way to add methods to classes annotated with a particular annotation?

 

For example,

 

CLASS 1

---------------

 

@MyAnnotation public class BeanA

{

   // …

}

 

 

 

CLASS 2

 

@MyAnnotation public class BeanB

{

   // …

}

 

Now, I need an aspect to insert a method, let’s call it foo(), to all classes annotated with @MyAnnotation

 

Is this doable and if so, how?

 

 

Thanks

Dmitry

_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to