All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adrninistrator.javacg.conf.JavaCGConfInfo Maven / Gradle / Ivy

package com.adrninistrator.javacg.conf;

import java.util.List;
import java.util.Set;

/**
 * @author adrninistrator
 * @date 2022/11/4
 * @description:
 */
public class JavaCGConfInfo {

    // 需要处理的jar包或目录
    private List jarDirList;

    // 需要处理的的包名
    private Set needHandlePackageSet;

    // 处理方法调用时是否解析可能的类型与值
    private boolean parseMethodCallTypeValue;

    // 处理类的方法前是否需要先解析构造函数以非静态字段可能的类型
    private boolean firstParseInitMethodType;

    // 处理方法出现异常时,是否要继续
    private boolean continueWhenError;

    // 调试日志打印开关
    private boolean debugPrint;

    // 调试日志打印到文件开关
    private boolean debugPrintInFile;

    // 记录方法分析耗时的开关
    private boolean logMethodSpendTime;

    // 生成文件的根目录
    private String outputRootPath;

    // 生成文件后缀名
    private String outputFileExt;

    public List getJarDirList() {
        return jarDirList;
    }

    public void setJarDirList(List jarDirList) {
        this.jarDirList = jarDirList;
    }

    public Set getNeedHandlePackageSet() {
        return needHandlePackageSet;
    }

    public void setNeedHandlePackageSet(Set needHandlePackageSet) {
        this.needHandlePackageSet = needHandlePackageSet;
    }

    public boolean isParseMethodCallTypeValue() {
        return parseMethodCallTypeValue;
    }

    public void setParseMethodCallTypeValue(boolean parseMethodCallTypeValue) {
        this.parseMethodCallTypeValue = parseMethodCallTypeValue;
    }

    public boolean isFirstParseInitMethodType() {
        return firstParseInitMethodType;
    }

    public void setFirstParseInitMethodType(boolean firstParseInitMethodType) {
        this.firstParseInitMethodType = firstParseInitMethodType;
    }

    public boolean isContinueWhenError() {
        return continueWhenError;
    }

    public void setContinueWhenError(boolean continueWhenError) {
        this.continueWhenError = continueWhenError;
    }

    public boolean isDebugPrint() {
        return debugPrint;
    }

    public void setDebugPrint(boolean debugPrint) {
        this.debugPrint = debugPrint;
    }

    public boolean isDebugPrintInFile() {
        return debugPrintInFile;
    }

    public void setDebugPrintInFile(boolean debugPrintInFile) {
        this.debugPrintInFile = debugPrintInFile;
    }

    public boolean isLogMethodSpendTime() {
        return logMethodSpendTime;
    }

    public void setLogMethodSpendTime(boolean logMethodSpendTime) {
        this.logMethodSpendTime = logMethodSpendTime;
    }

    public String getOutputRootPath() {
        return outputRootPath;
    }

    public void setOutputRootPath(String outputRootPath) {
        this.outputRootPath = outputRootPath;
    }

    public String getOutputFileExt() {
        return outputFileExt;
    }

    public void setOutputFileExt(String outputFileExt) {
        this.outputFileExt = outputFileExt;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy