We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package com.test internal object MyLog { enum class LogType { a, b, c, } private fun i(tag: String, msg: String) { } @JvmStatic fun log1(tag: String, taskName: String) { i(tag, "s $taskName") } @JvmStatic fun log2(tag: String, taskName: String, type: LogType, cost: Long) { i(tag, "r $taskName c $cost t $type") } }
package com.test; import kotlin.Metadata; import kotlin.jvm.JvmStatic; import kotlin.jvm.internal.Intrinsics; import org.jetbrains.annotations.NotNull; public final class MyLog { @NotNull public static final MyLog INSTANCE = new MyLog(); private MyLog() { } private final void i(String tag, String msg) { } @JvmStatic public static final void log1(@NotNull String tag, @NotNull String taskName) { Intrinsics.checkNotNullParameter(tag, "tag"); Intrinsics.checkNotNullParameter(taskName, "taskName"); INSTANCE.i(tag, "s " + taskName); } @JvmStatic public static final void log2(@NotNull String tag, @NotNull String taskName, @NotNull MyLog$LogType type, long cost) { Intrinsics.checkNotNullParameter(tag, "tag"); Intrinsics.checkNotNullParameter(taskName, "taskName"); Intrinsics.checkNotNullParameter(type, "type"); MyLog myLog = INSTANCE; myLog.i(tag, "r " + taskName + " c " + cost + " t " + myLog); } }
myLog.i(tag, "r " + taskName + " c " + cost + " t " + type);
MyLog myLog = INSTANCE; myLog.i(tag, "r " + taskName + " c " + cost + " t " + myLog);
kotlinOptions.jvmTarget = "11" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.22" agp:8.1.4
No response
1.5.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue details
kotlin code
decompile:
expectation(log2):
myLog.i(tag, "r " + taskName + " c " + cost + " t " + type);
actual result:
env:
kotlinOptions.jvmTarget = "11"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.22"
agp:8.1.4
Relevant log output or stacktrace
No response
Provide sample and class/method full name
No response
Jadx version
1.5.1
The text was updated successfully, but these errors were encountered: