Madrapps / dagger-plugin

Plugin that supports easy usage of Dagger 2 library in IntelliJ iDEA or Android Studio
Apache License 2.0
30 stars 9 forks source link

Validation for CheckedExceptions in @Inject methods #5

Closed thsaravana closed 4 years ago

thsaravana commented 4 years ago

If a method annotated with @Inject throws a checked exception, show the error highlight with this message: "Methods with @Inject may not throw checked exceptions. Please wrap your exceptions in a RuntimeException instead."