adrik77
04/05/2018, 1:21 PM@Assisted
annotation. I have a function similar to this
fun createPublishHysCmd(@Assisted("message") message: TBase)
When I see the compiled version, it decompiles to:
public abstract fun createPublishHysCmd(@com.google.inject.assistedinject.Assisted message: org.apache.thrift.TBase
Without the value of the annotation.
If I write a similar function in java:
PublishMessageHysCmd createPublishHysCmd(@Assisted("message") TBase message)
I can see it decompiled to:
PublishMessageHysCmd createPublishHysCmd(@Assisted("message") TBase var1)
Could kapt
fix this for me? I couldn’t find an annotationProcessor for google guice.gildor
04/05/2018, 2:48 PMadrik77
04/05/2018, 3:43 PMgildor
04/05/2018, 4:30 PMadrik77
04/05/2018, 4:37 PMkapt
. I’m trying to figure out if I could fix this issue with kapt
. The issue is that when I see bytecode (using IntelliJ decompiler) I don’t see any imports and the value of annotation @Assisted
is not there. While if I write the same code in java, when I see the bytecode (using again IntelliJ decompiler) I see imports and the value of the annotation.gildor
04/05/2018, 4:44 PM