private void generateSourceFile() {
        // class name
        String className = "XposedHookRegistry_" + registryModuleName.toUpperCase();
        String pkgName = "github.tornaco.xposed." + registryModuleName.toLowerCase();
        // Create source.
        String source = generateClass(pkgName, className);

        source = Reformatter.fixup(source);

        SourceFiles.writeSourceFile(processingEnv, pkgName + "." + className, source);
    }
Created by guohao4 on 2017/9/6.
Email: Tornaco@163.com
android/annotation_processors/xposed_hook_compiler/src/main/java/github/tornaco/permission/compiler/XposedHookCompiler.java