compiler: unified annotation processing code with doc tag processing