uhe
03/02/2018, 2:56 PMIntroduces a new feature in kapt for reporting annotation processing errors along with proper links to the original Kotlin declarationsI've refactored some stuff (basically removed a couple of classes) and now I'm getting a
error.NonExistentClass
related error:
:app:kaptDevDebugKotlin
e: C:\<path>\app\build\tmp\kapt3\stubs\devDebug\<package>\dagger\components\ApplicationComponent.java:17: error: error.NonExistentClass cannot be provided without an @Inject constructor or from an @Provides-annotated method.
public abstract void inject(@org.jetbrains.annotations.NotNull()
^
error.NonExistentClass is injected at
<package>.adapters.startup.Startup.<init>(…, logWriter, …)
<package>.adapters.startup.Startup is injected at
<package>.external.MainApplication.startup
<package>.external.MainApplication is injected at
<package>.dagger.components.ApplicationComponent.inject(mainApplication)
However, I've no idea why this happens and once again need to manually find the offending class. So I take it this new feature does not work in this case?