Hello All, I need some help with a pointcut for for a getter execution based on the annotation of the related property. For example:
class A { @SomeAnnotation String name; Interger age; @SomeAnnotation Integer weight; String getName() { return name; } Integer getAge() { return age; } Integer getWeight() { return weight; } } Now, I need a pointcut that should say "the execution of any getter of a property that has "@SomeAnnotation" annotation". In this case "getName()" and "getWeight()". Can someone help, please. Ramin -- View this message in context: http://aspectj.2085585.n4.nabble.com/pointcut-for-for-a-getter-based-on-annotation-of-the-property-tp3313592p3313592.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