Package spoon.support.compiler.jdt
Class FileCompilerConfig
- java.lang.Object
-
- spoon.support.compiler.jdt.FileCompilerConfig
-
- All Implemented Interfaces:
SpoonModelBuilder.InputType
public class FileCompilerConfig extends Object implements SpoonModelBuilder.InputType
-
-
Field Summary
Fields Modifier and Type Field Description static SpoonModelBuilder.InputType
INSTANCE
Default implementation of which initializesJDTBatchCompiler
by all sources and templates registered inSpoonModelBuilder
-
Fields inherited from interface spoon.SpoonModelBuilder.InputType
CTTYPES, FILES
-
-
Constructor Summary
Constructors Constructor Description FileCompilerConfig(List<SpoonFile> files)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<SpoonFile>
getFiles(JDTBatchCompiler compiler)
void
initializeCompiler(JDTBatchCompiler compiler)
responsible for setting the parameters of JDTBatchCompiler, must call setCompilationUnits()
-
-
-
Field Detail
-
INSTANCE
public static final SpoonModelBuilder.InputType INSTANCE
Default implementation of which initializesJDTBatchCompiler
by all sources and templates registered inSpoonModelBuilder
-
-
Method Detail
-
initializeCompiler
public void initializeCompiler(JDTBatchCompiler compiler)
Description copied from interface:SpoonModelBuilder.InputType
responsible for setting the parameters of JDTBatchCompiler, must call setCompilationUnits()- Specified by:
initializeCompiler
in interfaceSpoonModelBuilder.InputType
-
getFiles
protected List<SpoonFile> getFiles(JDTBatchCompiler compiler)
-
-