Qualify Axon annotations whose import clashes with an application type

Proprietary

AxonIQ's recipes import Axon Framework 5's @Command, @Event, @Query and @EventTag into the classes they annotate. Where the class also imports a type of its own with the same name, such as a Command interface it implements, neither name resolves. The Axon import is removed and the annotation is written with its fully qualified name.

io.moderne.axon.QualifyClashingAxonAnnotations
mod run . --recipe=io.moderne.axon.QualifyClashingAxonAnnotations

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.