package com.gh.gamecenter.ksp.compiler.utils;

/**
 * Some consts used in processors
 *
 * @author Alex <a href="mailto:zhilong.liu@aliyun.com">Contact me.</a>
 * @version 1.0
 * @since 16/8/24 20:18
 */
public class Consts {
    // Generate
    public static final String SEPARATOR = "$$";
    public static final String PROJECT = "Router";
    public static final String NAME_OF_ROOT = PROJECT + SEPARATOR + "Root";
    public static final String PACKAGE_OF_GENERATE_DOCS = "com.gh.gamecenter.route.docs";

    public static final String PARCELABLE = "android.os.Parcelable";

    // Java type
    public static final String SERIALIZABLE = "java.io.Serializable";
    // Kotlin type
    private static final String KOTLIN = "kotlin";
    public static final String KBYTE = KOTLIN + ".Byte";
    public static final String KSHORT = KOTLIN + ".Short";
    public static final String KINTEGER = KOTLIN + ".Int";
    public static final String KLONG = KOTLIN + ".Long";
    public static final String KFLOAT = KOTLIN + ".Float";
    public static final String KDOUBEL = KOTLIN + ".Double";
    public static final String KBOOLEAN = KOTLIN + ".Boolean";
    public static final String KCHAR = KOTLIN + ".Char";
    public static final String KSTRING = KOTLIN + ".String";

    public static final String NO_MODULE_NAME_TIPS_KSP = "These no module name, at 'build.gradle', like :\n" +
            "ksp {\n" +
            "    arg(\"ROUTER_MODULE_NAME\", project.getName()) {\n" +
            "}\n";

    // Options of processor
    public static final String KEY_MODULE_NAME = "ROUTER_MODULE_NAME";
}