INNER CODE UNIT · Java

BaseProcessor

xiaojinzi123/Component · ComponentCompiler/src/main/java/com/xiaojinzi/component/BaseProcessor.java:24

public abstract class BaseProcessor extends AbstractProcessor {

    public static final String NORMALLINE = "---------------------------";

    /*当没有配置 host 信息或者配置错误的异常*/
    public static final RuntimeException NULLHOSTEXCEPTION = new RuntimeException("the host must not be null,you must define host in build.gradle file,such as:\n\n" +
            "defaultConfig {\n" +
            "    minSdkVersion 14\n" +
            "    targetSdkVersion 27\n" +
            "    versionCode 1\n" +
            "    versionName \"1.0\"\n\n" +
            "    javaCompileOptions {\n" +
            "        annotationProcessorOptions {\n" +
            "            arguments = [HOST: \"user\"]\n" +
            "        }\n" +
            "    }\n" +
            "}\n  \n");

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…