Let's say I define an annotation called `@MyAnnotation`.

There is a class `X` which is declared as:

```
@MyAnnotation
class X { .... }

```

Now at compile time I want to inspect all classes annotated with `@MyAnnotation` and do some code generation to more java source files that need to be compiled as well in the same process.

Is this possible using java annotation processor or some other tool?