forked from square/dagger
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make ComponentProcessor implement JavacBasicAnnotationProcessor.
This CL makes ComponentProcessor extend JavacBasicAnnotationProcessor, which can handle XProcessingStep and XProcessingEnv directly rather than having to convert it ourselves. This CL also patches in the fixes to JavacBasicAnnotationProcessor, which is required for this change: androidx/androidx@8f65ad6 At some point we will have a KspComponentProcessor that extends KspBasicAnnotationProcessor. At that point we'll likely want to refactor a lot of the code in ComponentProcessor into a separate class that can be shared by both KspComponentProcessor and ComponentProcessor, but for now I've kept it all in ComponentProcessor. RELNOTES=N/A PiperOrigin-RevId: 384769549
- Loading branch information
Showing
2 changed files
with
23 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 0 additions & 89 deletions
89
java/dagger/internal/codegen/validation/TypeCheckingProcessingStep.java
This file was deleted.
Oops, something went wrong.