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

tech.guyi.ipojo.compile.lib.expand.compile.CompileExpand Maven / Gradle / Ivy

The newest version!
package tech.guyi.ipojo.compile.lib.expand.compile;

import tech.guyi.ipojo.compile.lib.compile.entry.CompileClass;
import tech.guyi.ipojo.compile.lib.configuration.Compile;
import javassist.ClassPool;

import java.util.Set;

public interface CompileExpand {

    default int order(){
        return 999;
    }

    default boolean check(Compile compile){
        return true;
    }

    /**
     * 处理
     * @param pool
     * @param compile 编译信息
     * @param components 项目组件
     * @return 更新后的项目组件
     * @throws Exception
     */
    Set execute(ClassPool pool, Compile compile, Set components) throws Exception;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy