From my understanding, an annotation processor is a 'plugin' into the Java compiler, meaning that annotation processing is done at compile time.
Since bytecode manipulation can also be done at compile time, would it be possible to, at compile time, manipulate the bytecode from the classes generated by the annotation processor?
Does annotation processing occur before the compiler actually compiles anything so that the generated classes are then compiled in the main compilation stage?
Or more broadly, would someone explain, or point me to the Java documentation about the execution order of the javac compiler and annotation processor ?
Thank you