【问题标题】:what most likely is this Intrinsics method这种内在方法最有可能是什么
【发布时间】:2019-03-26 14:00:47
【问题描述】:

我在反编译一些 apk 时遇到了这个

protected ButtonAction(String str) {
    Intrinsics.m27292b(str, "action");
    this.action = str;
}

public final void m23619h(String str) {
    Intrinsics.m27292b(str, "donationGroup");
    this.f14615e.edit().putString("donation_group", str).apply();
}

我了解Intrinsics来自:

import kotlin.jvm.internal.Intrinsics;

我的问题是m27292b 最有可能是什么? 我知道这有点抽象,但我努力学习

【问题讨论】:

    标签: android kotlin decompiling


    【解决方案1】:

    f14615e 可能是SharedPreferences ...作为.edit().apply() 的提示。

    Intrinsics.m27292b的签名匹配Intrinsics的各种方法。它可以是任何方法,可以接受两个String 作为参数;它可能会断言 str 不是 null

    public static void checkParameterIsNotNull(Object value, String paramName) {
        if (value == null) {
            throwParameterIsNullException(paramName);
        }
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-01-10
      • 2011-09-14
      • 1970-01-01
      • 1970-01-01
      • 2015-02-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多