For example, Dagger 2 and Spring or Guice use the @Inject annotation. There are ways how to solve this issue correctly and use both such frameworks?

  • 3
    If the annotation packages are different then just write all the way to the annotation - pavel163
  • mm, thank you. I just didn’t work too much with annotations and certainly didn’t come across two frameworks with the same annotations used in the same project - Turalllb

0