Digging into Google's DI framework Dagger2 to decide for a DI Framewor to use it in an middle sized app, I also noticed Hilt
So according to its overview description:
Hilt works by code generating your Dagger setup code for you. This takes away most of the boilerplate of using Dagger and really just leaves the aspects of defining how to create objects and where to inject them. Hilt will generate the Dagger components and the code to automatically inject your Android classes (like activities and fragments) for you.
Hilt generates a set of standard Android Dagger components based off of your transitive classpath. This requires marking your Dagger modules with Hilt annotations to tell Hilt which component they should go into. Getting objects in your Android framework classes is done by using another Hilt annotation which will generate the Dagger injection code into a base class that you will extend. For Gradle users, extending this class is done with a bytecode transformation under the hood.
1. It does neither replace Dagger2 nor is it its successor?
2. Hilt is something additional to Dagger2, which then simplifies the Dagger2 usage?
3. Are there any disadvantages, other than it is still in Alpha?