To add a field to some specific class with aspectj we do
package com.test; public class MyClass { private String myField; } public aspect MyAspect { pr
You can create a pointcut for any type with a particular annotation. See Join Point Matching based on Annotations.