导航菜单

页面标题

页面副标题

Tasker v6.5.11 - i0.java 源代码

正在查看: Tasker v6.5.11 应用的 i0.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.joaomgcd.taskerm.action.variable;

import com.joaomgcd.taskerm.structuredoutput.StructureType;
import com.joaomgcd.taskerm.util.z2;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public final class i0 {
    private String a;
    private String b;
    private Boolean c;
    private com.joaomgcd.taskerm.inputoutput.a d;

    public static final class a extends yj.q implements xj.l<StructureType, String> {
        public static final a i = new a();

        public a() {
            super(1);
        }

        public final String invoke(StructureType structureType) {
            yj.p.i(structureType, "it");
            return structureType.name();
        }
    }

    public i0() {
        this(null, null, null, null, 15, null);
    }

    @uf.b(index = 0)
    public static void getOutputClass$annotations() {
    }

    @uf.b(helpResIdName = "structure_prevent_json_smart_search_help", helpUrl = "https://tasker.joaoapps.com/userguide/en/variables.html#json", index = 3)
    public static void getPreventJSONSmartSearch$annotations() {
    }

    @uf.b(helpResIdName = "structure_type_help", index = 2)
    public static void getType$annotations() {
    }

    @uf.b(index = 1, keepVars = true)
    public static void getVariableName$annotations() {
    }

    public final StructureType getEnumType() {
        String str = this.b;
        if (str != null) {
            return (Enum) z2.E0(str, StructureType.class, a.i);
        }
        return null;
    }

    public final List<String> getNamesArray() {
        String c;
        String str = this.a;
        if (str == null) {
            return null;
        }
        c = i.c(str, ",");
        List A0 = hk.o.A0(str, new String[]{c}, false, 0, 6, (Object) null);
        if (A0 == null) {
            return null;
        }
        ArrayList arrayList = new ArrayList();
        Iterator it = A0.iterator();
        while (it.hasNext()) {
            String F = z2.F((String) it.next());
            String obj = F != null ? hk.o.Z0(F).toString() : null;
            if (obj != null) {
                arrayList.add(obj);
            }
        }
        return arrayList;
    }

    public final com.joaomgcd.taskerm.inputoutput.a getOutputClass() {
        return this.d;
    }

    public final Boolean getPreventJSONSmartSearch() {
        return this.c;
    }

    public final String getType() {
        return this.b;
    }

    public final String getVariableName() {
        return this.a;
    }

    public final void setOutputClass(com.joaomgcd.taskerm.inputoutput.a aVar) {
        this.d = aVar;
    }

    public final void setPreventJSONSmartSearch(Boolean bool) {
        this.c = bool;
    }

    public final void setType(String str) {
        this.b = str;
    }

    public final void setVariableName(String str) {
        this.a = str;
    }

    public i0(String str, String str2, Boolean bool, com.joaomgcd.taskerm.inputoutput.a aVar) {
        this.a = str;
        this.b = str2;
        this.c = bool;
        this.d = aVar;
    }

    public i0(String str, String str2, Boolean bool, com.joaomgcd.taskerm.inputoutput.a aVar, int i, yj.h hVar) {
        this((i & 1) != 0 ? null : str, (i & 2) != 0 ? null : str2, (i & 4) != 0 ? null : bool, (i & 8) != 0 ? new com.joaomgcd.taskerm.inputoutput.a() : aVar);
    }
}