aboutsummaryrefslogtreecommitdiff
path: root/java/dagger/hilt/processor/internal
diff options
context:
space:
mode:
authorDagger Team <java-team-github-bot@google.com>2020-12-28 18:30:19 -0800
committerDagger Team <dagger-dev+copybara@google.com>2020-12-28 18:31:34 -0800
commitb90de0f1f2f34f16519710778a4711b8d89ce49e (patch)
treefd0635f65b28ca37dd2592f8d52609da1d299aa8 /java/dagger/hilt/processor/internal
parenta8ab59a479bb36a4528deb75c3e6a70e2a912dec (diff)
downloaddagger2-b90de0f1f2f34f16519710778a4711b8d89ce49e.tar.gz
Add a plugin to check for injections of @HiltViewModel types. Since @HiltViewModel has an @Inject constructor, it is possible to erroneously inject it instead of accessing it via the Android APIs. This check should prevent that from happening.
RELNOTES=Injections of @HiltViewModel types now cause an error PiperOrigin-RevId: 349357974
Diffstat (limited to 'java/dagger/hilt/processor/internal')
0 files changed, 0 insertions, 0 deletions