public class FileCompilerConfig extends java.lang.Object implements SpoonModelBuilder.InputType
Modifier and Type | Field and Description |
---|---|
static SpoonModelBuilder.InputType |
INSTANCE
Default implementation of which initializes
JDTBatchCompiler by all sources and templates registered in SpoonModelBuilder |
CTTYPES, FILES
Constructor and Description |
---|
FileCompilerConfig(java.util.List<SpoonFile> files) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<SpoonFile> |
getFiles(JDTBatchCompiler compiler) |
void |
initializeCompiler(JDTBatchCompiler compiler)
responsible for setting the parameters of JDTBatchCompiler, must call setCompilationUnits()
|
public static final SpoonModelBuilder.InputType INSTANCE
JDTBatchCompiler
by all sources and templates registered in SpoonModelBuilder
public FileCompilerConfig(java.util.List<SpoonFile> files)
public void initializeCompiler(JDTBatchCompiler compiler)
SpoonModelBuilder.InputType
initializeCompiler
in interface SpoonModelBuilder.InputType
protected java.util.List<SpoonFile> getFiles(JDTBatchCompiler compiler)
Copyright © 2007–2021 Inria. All rights reserved.